Module columnar::bytes::serialization
source · Expand description
A sequential byte layout for AsBytes
and FromBytes
implementors.
The layout is aligned like a sequence of u64
, where we repeatedly announce a length,
and then follow it by that many bytes. We may need to follow this with padding bytes.
Structs§
- An iterator over byte slices, decoding from a sequence of lengths followed by bytes.
Functions§
- Decodes a sequence of byte slices from their length followed by their bytes.
- Encodes a sequence of byte slices as their length followed by their bytes, aligned to 8 bytes.