Home /Modules/compression/BROTLI.md

BROTLI.md

compression/compressors/brotli/BROTLI.md · 25 line(s) · markdown

Brotli

Algorithm id: SLEELA_COMPRESSION_BROTLI · State: Backend · Extensions: .br · MIME: application/x-brotli

Brotli has no fixed magic signature (the stream begins with a window-size descriptor), so it is selected by id/extension, not positively probed. Compress/decompress require an approved Brotli backend.

Files

FileLanguageRole
brotli.cCPlugin vtable (sleela_compressor_plugin_brotli), state + dispatch.
brotli_detail.cppC++Content signature probe (sleela_brotli_probe_bytes).
brotli_detail.h—C-linkage declaration.

Capabilities

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