Expand description
Module: serialize
Responsibility: generic serialization and bounded-deserialization helpers. Does not own: database-specific payload policy or storage limits. Boundary: format-level helper layer reused by db codecs and tests.
Enums§
- Serialize
Error - Generic CBOR serialization infrastructure.
- Serialize
Error Kind - SerializeErrorKind
Functions§
- deserialize
- Deserialize a value produced by
serialize. - deserialize_
bounded - Deserialize a value produced by
serialize, with an explicit size limit. - serialize
- Serialize a value using the default
canicserializer. - serialize_
hex - Serialize a value using the default
canicserializer and stream the encoded bytes directly into one lowercase hex string. - serialized_
len - Return serialized byte length using the default
canicserializer without allocating an output buffer.