Skip to main content

Module serialize

Module serialize 

Source
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§

SerializeError
Generic CBOR serialization infrastructure.
SerializeErrorKind
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 canic serializer.
serialize_hex
Serialize a value using the default canic serializer and stream the encoded bytes directly into one lowercase hex string.
serialized_len
Return serialized byte length using the default canic serializer without allocating an output buffer.