mzstd 0.1.0

Zstandard (RFC 8878) compression and decompression in safe Rust; single-threaded encoding is byte-identical to zstd 1.5.7
Documentation
//! Private Zstandard decoder implementation.
//!
//! The layers, from the bitstream up:
//!
//! - [`bits`]: backward bit reader for Huffman and FSE streams, forward
//!   reader for table descriptions;
//! - [`fse`]: FSE table descriptions, decoding tables and the Huffman
//!   weight decoder;
//! - [`huffman`]: Huffman tree descriptions and one- or four-stream literal
//!   decoding;
//! - [`literals`] and [`sequences`]: the two sections of a compressed block,
//!   including sequence execution against the history;
//! - [`block`]: block headers and the per-frame entropy state;
//! - [`frame`]: frame headers, limits, content size and checksum checks;
//! - [`history`]: the streaming output buffer that doubles as the window;
//! - [`stream`]: the resumable frame-sequencing state machine and the
//!   one-shot driver.
//!
//! Entropy-level modules report [`crate::decompressor::InvalidDataKind`];
//! the frame and stream layers turn those into
//! [`crate::decompressor::DecodeError`] alongside limit, checksum and
//! lifecycle errors.

mod bits;
mod block;
mod frame;
mod fse;
mod history;
mod huffman;
mod literals;
mod sequences;
mod stream;

pub(crate) use stream::Stream;