Expand description

Functions relating to managing references to well-typed Rust values stored inside arbitrary byte slices.

Enums

Plenty can go wrong when attempting to embed a value in arbitrary bytes

Plenty can go wrong when attempting to find space for a value in arbitrary bytes.

Functions

Initialize a value into location within a provided byte slice, and return a mutable reference to that value.

Initialize a value into location within a provided byte slice, and return a mutable reference to that value.

Split out a mutable reference to an uninitialized struct at an available location within a provided slice of bytes.

Split out a mutable reference to an uninitialized struct at an available location within a provided slice of maybe-uninitialized bytes.