Skip to main content

Module codec

Module codec 

Source

Structs§

BytemuckCodec
Codec for T: bytemuck::Pod — fixed-size values cast as raw bytes.
BytemuckSliceCodec
Codec for Vec<T> where T: bytemuck::Pod — variable-length vector serialized as contiguous raw bytes via bytemuck::cast_slice.
RapiraCodec
ZerocopyCodec
Codec for T: IntoBytes + FromBytes — fixed-size values via zerocopy.

Traits§

BytemuckVec
Trait for types that can be encoded/decoded as a contiguous slice of Pod elements.
Codec
Codec for encoding/decoding typed values to/from bytes.