Overview of uzlib compression and decompression
releaseuzlib is a modified LZ77 compression library designed for embedded systems like the ESP8266. It provides Deflate-compatible compression and decompression with minimal code size and runtime memory requirements.
Compression
- Compresses data to a Deflate-compatible bitstream.
- Uses a static Deflate Huffman tree encoding (resulting in a lower compression ratio than standard Zlib Deflate).
- Warning: Compression is performed in RAM and requires approximately 4 bytes of RAM per 1 byte of input data. It should only be used for small records on the ESP8266.
Decompression
- Can decompress any valid Deflate, Zlib, and Gzip bitstream that is less than 16Kb in size.
- Can decompress any arbitrary length stream that was compressed using the uzlib compressor.