Skip to main content

Module codec

Module codec 

Source
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 avoid bincode::serialize’s built-in serialized-size pre-pass.
containers
InPlaceCodec for fixed-size container types.
prims
InPlaceCodec for primitive scalar types used as HeapArray elements.

Traits§

InPlaceCodec
A type that can be (de)serialized to/from a fixed-size byte window directly.