Files
sharpcompress/tests
copilot-swe-agent[bot] e5ef31bdaf Fix XZBlock exception when accessing Position on non-seekable streams
XZBlock accesses stream.Position in its constructor and SkipPadding(),
which throws NotSupportedException for non-seekable streams (e.g., HTTP).

Fix: XZStream now auto-wraps non-seekable streams with
SharpCompressStream.Create() to provide position tracking via ring buffer.

Add tests for raw non-seekable streams (sync and async).

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
2026-02-23 21:11:00 +00:00
..