in reply to Re: uncompress gzip data in a callback
in thread uncompress gzip data in a callback
Actually you can - the DEFLATE algorithm encodes data as a stream of blocks which can be decoded sequentially, as zcat does. Gzip wraps a DEFLATE stream with a header and footer but since the footer is for integrity checking it is not useful until after the whole stream has been decompressed.
If you're specifically talking about PKZIP you're correct, but that's because PKZIP is an archive format containing multiple files each compressed with DEFLATE, and thus is not the same thing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: uncompress gzip data in a callback
by BrowserUk (Patriarch) on May 04, 2010 at 13:39 UTC | |
by pmqs (Friar) on May 04, 2010 at 16:03 UTC | |
|
Re^3: uncompress gzip data in a callback
by BrowserUk (Patriarch) on May 04, 2010 at 18:47 UTC |