Expand description
Logic related to the transformation to and from bytes.
The methods here line up with the AsBytes and FromBytes traits.
The encoding uses an index of byte offsets prepended to the data, enabling
random access to individual byte slices and u64-aligned decoding.
The most reliable entry point to the read side of this functionality is the Stash type,
which can be formed from any type that implements Deref<Target=[u8]>. Doing so will check
u64 alignment, copy the contents if misaligned, and perform some structural validation.
Modules§
- indexed
- A binary encoding of sequences of byte slices.
- stash
- A container of either typed columns, or serialized bytes that can be borrowed as the former.
Traits§
- Write
Bytes - A trait for writing bytes, usable in
no_stdenvironments.