[android-developers] GZIPInputstream & skip() weird behavior
hi,
i have some concatenated GZIPInputstreams into one physical file and
observed IOException (crc mismatch) after skip()ing and reading some
bytes that are close to the end of GZIPInputstream
i think it seems that skip() possibly reads ahead some data - thus
reading next GZIPInputstream
i worked it around by removing skip() and replacing it by some read()s
what can be better solution?
thanks
pskink
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home