Expand description
Fast, architecture-independent fixed-size (de)serialization.
InPlaceCodec encodes a value to (and decodes it from) a fixed-size byte window directly,
bypassing the per-element serde dispatch. The encoding is deliberately not
required to match any external format (serde/bincode); it only has to 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.- 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.