Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


Seeking System.IO.Compression.DeflateStream


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   -  Reputation: 413

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

Sponsor:



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.



PARTNERS