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: cachekit-core’s structural walk (depth ≤MAX_DECODE_DEPTH, no overclaim) runs before anything is decoded, andbytesmust hold exactly one document — trailing bytes are rejected, as in interop mode (crate::interop::deserialize). - serialize
- Serialize
valueto MessagePack bytes using named fields (map format).