Expand description
Structs§
- A buffer of bytes aligned to 16 bytes.
- The resolver for an archived
AlignedBytes
- A vector of bytes that aligns its memory to 16 bytes.
- An archived
AlignedBytes
- A draining iterator for
ScratchVec<T>
. - A vector view into serializer scratch space.
Functions§
- Casts an archived value from the given byte slice by calculating the root position.
- Casts a mutable archived value from the given byte slice by calculating the root position.
- Casts a
RelPtr
to the given unsized type from the given byte slice by calculating the root position. - Casts a
RelPtr
to the given unsized type from the given byte slice by calculating the root position. - Casts a
RelPtr
to the given unsized type from the given byte slice at the given position and returns the value it points to. - 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. - Casts an archived value from the given byte slice at the given position.
- Casts a mutable archived value from the given byte slice at the given position.
- Deserializes a value from the given bytes.
- Serializes the given value and returns the resulting bytes.