• Advertisement
Sign in to follow this  

Seeking System.IO.Compression.DeflateStream

This topic is 1924 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am reading a file where only parts of the file have ZLIB compression. At the start, I create a FileStream to the file, then create a BinaryReader for reading non-compressed data, and a DeflateStream for reading compressed data. So eventually I will obtain the data marking a chunk of compressed data:

(byteOffset, compressedByteLength)

So I would like to take my DeflateStream object and Seek to position byteOffset. However, the DeflateStream object is not seekable, so what do I do?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement