Expand description
Bincode encode/decode helpers.
Constantsยง
- DECODE_
LIMIT ๐ - Max bytes one decode may claim. Same as the frame limit of
LengthCodec, so a valid message is never rejected.
Functionsยง
- bincode_
config ๐ - decode
- Decode a given type
Tfrom the given slice. Returns the decoded value along with the number of bytes read. - encode
- Encode the given type
Tinto aVec<u8>.