chdlady-huffman 0.1.0

Bitstream manipulation and canonical Huffman coding compatible with MAME CHD
docs.rs failed to build chdlady-huffman-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

chdlady-huffman

Canonical Huffman codec and bitstream primitives compatible with the MAME CHD format.

This crate implements the encoding and decoding algorithms used internally by CHD containers for Huffman-compressed hunks. It provides a BitReader and BitWriter for arbitrary-width bit sequences, plus HuffmanEncoder and HuffmanDecoder with RLE and Huffman tree import/export matching MAME's wire format.

Zero external dependencies — only the Rust standard library.

Usage

[dependencies]
chdlady-huffman = "0.1"

Part of the chdlady workspace.