Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Common boundaries

The wire format, feature gates and primitives both directions share.

SpecificationScope
Frame formatMagic, frame header, chunk header lanes, stream numbering, stored streams, checksums and limits as both codecs read and write them.
Codec featuresDirection and per-codec feature gates, std/no_std, libm and profiling features, and how disabled codecs behave.
Shared primitivesVarints, bit packing, wire constants, XXH3 with its SIMD accumulator, and the encoder-side shared modules.
Uninitialized outputcompress_to_uninit, decompress_to_uninit and process_uninit: BorrowedBuf sinks, zero-free Vec decoding and their Miri/ASan coverage.

Architecture overview and module map