Module decode

Module decode 

Source
Expand description

Decoding primitives for MessagePack.

This module provides low-level decoders that operate on byte slices and return decoded values along with the remaining tail.

Structs§

ArrayDecoder
Decode a MessagePack array of V into Array collecting iterator.
BinDecoder
Decode a MessagePack binary blob and return a borrowed byte slice.
MapDecoder
Decode a MessagePack map of K -> V into Map collecting iterator.
NbyteReader
Helper to read a fixed number of big‑endian bytes and return them as usize.
NilDecoder
Decode the MessagePack nil value.
StrDecoder
Decode a MessagePack string and return a borrowed &str.

Enums§

Error
MessagePack decode error

Traits§

Decode
A type that can be decoded from a MessagePack byte slice.