Expand description
Serialization and deserialization of cached values via MessagePack.
Constants§
- MAX_
DECODE_ DEPTH - Maximum MessagePack nesting depth accepted from an untrusted payload.
Functions§
- deserialize
- Deserialize
bytesfrom MessagePack intoTunder the decode bounds: thecheck_structurewalk (depth ≤MAX_DECODE_DEPTH, no overclaim) runs before anything is decoded. Trailing bytes are ignored (auto mode is SDK-internal; interop mode’s strict single-document read iscrate::interop::deserialize). - serialize
- Serialize
valueto MessagePack bytes using named fields (map format).