Skip to main content

Module zerocopy_serialization

Module zerocopy_serialization 

Source
Expand description

Efficient serialization and deserialization for Vec<T> and Box<[T]> where T supports zerocopy.

Traits§

SerializeAsBytes
A trait for container types that can be efficiently serialized as a byte slice and reconstructed from a Vec of their elements.

Functions§

deserialize
Deserializes a container type from a byte slice.
serialize
Serializes a container type as a byte slice.