Expand description
Typed entropy-channel descriptor: the canonical, self-describing wire form of a single rANS channel capsule.
A channel is never a bare seed. It carries the coder identity, the model it
consumes, the decoder initial state, the renormalization payload, and the
exact symbol/decoded counts. encode and
decode are exact inverses; decoding
validates every field and never panics on hostile input.
Structs§
- Entropy
Channel Descriptor - A complete decoder-entry descriptor for one entropy channel.
Constants§
- CODER_
ORDE R0_ BYTE_ RANS - Coder selector: single-lane order-0 byte rANS.
- CODER_
VERSION_ 1 - Coder wire version for
CODER_ORDER0_BYTE_RANS. - WIRE_
HEADER_ LEN - Fixed bytes preceding the payload in the wire encoding.