Jump to content

View more

Image of the Day

The beast has a mighty searchlight of evil! #screenshotsaturday https://t.co/bzKepOojDL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Seeking System.IO.Compression.DeflateStream

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 Quat   Members   

567
Like
0Likes
Like

Posted 13 October 2012 - 12:09 PM

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?
-----Quat




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.