Expand description
Fast, architecture-independent fixed-size (de)serialization.
InPlaceCodec encodes a value to (and decodes it from) a fixed-size byte window directly.
It bypasses the per-element serde dispatch. The encoding need not match any external
format (serde/bincode). It MUST be architecture-independent (fixed-width little-endian)
and fast.
Modules§
- bincode_
io - Thin wrappers around
bincode’s free (de)serialization functions that avoidbincode::serialize’s built-in serialized-size pre-pass. - containers
InPlaceCodecfor fixed-size container types.- legacy
- Pre-#748 (“Rework serialization”) serde encodings for
InPlaceCodec-backed leaf types and the authenticated share/key/DaBit types built on them. - prims
InPlaceCodecfor primitive scalar types used asHeapArrayelements.
Traits§
- InPlace
Codec - A type that can be (de)serialized to/from a fixed-size byte window directly.