Expand description
src/headers/decode.rs
Header decoding utilities.
Design notes:
- Deserializes a fixed 80‑byte buffer into a
HeaderV1struct. - Field order must match
encode.rsexactly for ABI stability. - Validation is performed after decoding to reject malformed or incompatible streams.
- Treat header as authoritative source for strategy and chunk sizing.
Functions§
- decode_
header_ le - Deserialize an 80‑byte little‑endian header into
HeaderV1.