Available on crate feature
deflate64 only.Expand description
PKWARE deflate64 (zip method 9).
Streaming encoder + decoder behind a shared crate::Algorithm impl.
Bit-stream framing, block-type discrimination, code-length-code
prelude, and canonical Huffman are identical to RFC 1951 deflate; the
deltas are entirely in the symbol tables (tables.rs):
- 64 KiB sliding window (vs 32 KiB).
- length code 285 = base 3 + 16 extra bits → matches up to 65538.
- distance symbols 30, 31 are real (each carry 14 extra bits) and address distances 32769..=65536.
Both directions are fully streaming and the decoder keeps the 64 KiB sliding window on the heap.
Re-exports§
pub use decoder::Decoder;pub use decoder::DecoderConfig;pub use encoder::Encoder;pub use encoder::EncoderConfig;
Modules§
- decoder
- Streaming PKWARE deflate64 decoder.
- encoder
- Streaming PKWARE deflate64 encoder.
- lz77
- Hash-chain LZ77 match finder used by the deflate64 encoder.