0.1.5 |
|
---|---|
0.1.4 |
|
0.1.2 |
|
0.1.1 |
|
#26 in #align
14KB
326 lines
aligned-bytes
A continuous fixed-length byte array with a specified alignment.
Example
use aligned_bytes::AlignedBytes;
let mut bytes = AlignedBytes::new_zeroed(1024, 8);
let buf: &mut [u8] = &mut *bytes;
lib.rs
:
A continuous fixed-length byte array with a specified alignment.
Example
use aligned_bytes::AlignedBytes;
let mut bytes = AlignedBytes::new_zeroed(1024, 8);
let buf: &mut [u8] = &mut *bytes;