pfalcon / uzlib

Radically unbloated DEFLATE/zlib/gzip compression/decompression library. Can decompress any gzip/zlib data, and offers simplified compressor which produces gzip-compatible output, while requiring much less resources (and providing less compression ratio of course).
Other
306 stars 83 forks source link

Decompression byte by byte #21

Closed pabloxid closed 6 years ago

pabloxid commented 6 years ago

The current "gunzip" example works with an input stream that resides fully in memory. Can you provide an example of gzip decompression in which input srtream is provided "byte by byte"?

Thank you.

pfalcon commented 6 years ago

Sure, see MicroPython integration for example: https://github.com/micropython/micropython/blob/master/extmod/moduzlib.c