icsharpcode / SharpZipLib

#ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform.
http://icsharpcode.github.io/SharpZipLib/
MIT License
3.71k stars 979 forks source link

Why PartialInputStream.Seek does not return a relative value #793

Closed mrtop closed 1 year ago

mrtop commented 1 year ago

PartialInputStream.Position return The current position within the stream. but PartialInputStream.Seek return The current position within the baseStream. why?

image

It should not be readPos_ - start ?