Skip to main content

Module prims

Module prims 

Source
Expand description

InPlaceCodec for primitive scalar types used as HeapArray elements.

All encodings are fixed-width little-endian, hence architecture-independent. usize is encoded as a fixed 8 bytes (not the platform word size) so the format is portable across 32/64-bit targets; decoding validates the value fits into the local usize.