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.
In reply to Re^2: uncompress gzip data in a callback
by Weevil
in thread uncompress gzip data in a callback
by Weevil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |