Expand description
Functions relating to managing references to well-typed Rust values stored inside arbitrary byte slices.
Enums§
- Embed
Value Error - Plenty can go wrong when attempting to embed a value in arbitrary bytes
- Split
Uninit Error - Plenty can go wrong when attempting to find space for a value in arbitrary bytes.
Functions§
- embed⚠
- Initialize a value into location within a provided byte slice, and return a mutable reference to that value.
- embed_
uninit - Initialize a value into location within a provided byte slice, and return a mutable reference to that value.
- split_
uninit_ from_ bytes - Split out a mutable reference to an uninitialized struct at an available location within a provided slice of bytes.
- split_
uninit_ from_ uninit_ bytes - Split out a mutable reference to an uninitialized struct at an available location within a provided slice of maybe-uninitialized bytes.