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?
Seeking System.IO.Compression.DeflateStream
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement