Module bytes

Source
Expand description

A continuous fixed-length byte array with a specified alignment.

§Example

use aligned_utils::bytes::AlignedBytes;
let mut bytes = AlignedBytes::new_zeroed(1024, 8);
let buf: &mut [u8] = &mut *bytes;

Structs§

AlignedBytes
A continuous fixed-length byte array with a specified alignment.