Key features of miniz
masterMiniz provides several specialized capabilities for data compression and archive management:
- zlib Replacement: Acts as a drop-in replacement for the most commonly used zlib APIs.
- Stream-based Processing: Supports coroutine-style stream processing (not block-based), allowing API functions to be called one byte at a time.
- Low-level Codecs: Provides
tdefl(compressor) andtinfl(decompressor) with simple state structs that can be saved/restored viamemcpy. These APIs do not use the heap. - Archive Manipulation: Includes a set of APIs for reading, writing, and appending
.ZIPformat archives. - Image Support: Includes functions for writing
.PNGformat image files. - Portability: Written in plain C, tested with GCC, clang, and Visual Studio.