Expand description
Structs§
- Aligned
Bytes - A buffer of bytes aligned to 16 bytes.
- Aligned
Bytes Resolver - The resolver for an archived
AlignedBytes
- Aligned
Vec - A vector of bytes that aligns its memory to 16 bytes.
- Archived
Aligned Bytes - An archived
AlignedBytes
- Drain
- A draining iterator for
ScratchVec<T>
. - Scratch
Vec - A vector view into serializer scratch space.
Functions§
- archived_
root ⚠ - Casts an archived value from the given byte slice by calculating the root position.
- archived_
root_ ⚠mut - Casts a mutable archived value from the given byte slice by calculating the root position.
- archived_
unsized_ ⚠root - Casts a
RelPtr
to the given unsized type from the given byte slice by calculating the root position. - archived_
unsized_ ⚠root_ mut - Casts a
RelPtr
to the given unsized type from the given byte slice by calculating the root position. - archived_
unsized_ ⚠value - Casts a
RelPtr
to the given unsized type from the given byte slice at the given position and returns the value it points to. - archived_
unsized_ ⚠value_ mut - Casts a mutable
RelPtr
to the given unsized type from the given byte slice at the given position and returns the value it points to. - archived_
value ⚠ - Casts an archived value from the given byte slice at the given position.
- archived_
value_ ⚠mut - Casts a mutable archived value from the given byte slice at the given position.
- from_
bytes_ ⚠unchecked - Deserializes a value from the given bytes.
- to_
bytes - Serializes the given value and returns the resulting bytes.