Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


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: 422

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