Module buffer

Source
Expand description

Reading data directly from a buffer

Structs§

LEI64
little-endian u64
LEU16
little-endian u16
LEU32
little-endian u32

Enums§

CastError
Errors from casting a minimally-aligned type

Traits§

Buffer
Additional methods on byte slices
MinimallyAligned
Asserts that the type has a minimal ABI alignment of 1
Repr
Similar to From<&U> for T

Functions§

cast
Cast a buffer to a reference
cast_slice
Cast a buffer to a slice
try_cast
Try to cast a buffer to a reference
try_cast_slice
Try to cast a buffer to a slice