Module codec
Expand description
Incremental fixed-header decoder.
Decoder is fed bytes one at a time and yields a FixedHeader plus
the remaining-length once a complete header has been accumulated. It does
not buffer the packet body — the caller collects it and decodes via
Packet::decode.
Structs§
- Decoder
- Incremental fixed-header decoder.
Enums§
- Decode
State - Result of feeding bytes to the decoder.
- Decoder
State 🔒