Home /Modules/compression/ZLIB.md

ZLIB.md

compression/compressors/zlib/ZLIB.md · 25 line(s) · markdown

zlib (RFC 1950)

Algorithm id: SLEELA_COMPRESSION_ZLIB · State: Backend · Extensions: .zz · MIME: application/zlib

zlib (RFC 1950): the two-byte header has CM=8 (deflate) in the low nibble of byte 0 and (CMF*256 + FLG) is a multiple of 31. Compress/decompress require an approved zlib (RFC 1950) backend.

Files

FileLanguageRole
zlib.cCPlugin vtable (sleela_compressor_plugin_zlib), state + dispatch.
zlib_detail.cppC++Content signature probe (sleela_zlib_probe_bytes).
zlib_detail.h—C-linkage declaration.

Capabilities

SLeeLa calls the Compression Manager, which loads this plugin by id; it never calls the plugin directly.