aligned-bytes

Crates.ioaligned-bytes
lib.rsaligned-bytes
version0.1.5
sourcesrc
created_at2020-07-16 14:17:11.950051
updated_at2020-10-18 11:32:34.466071
descriptionA continuous fixed-length byte array with a specified alignment.
homepage
repositoryhttps://github.com/datenlord/aligned-bytes
max_upload_size
id265768
size18,268
(Nugine)

documentation

README

aligned-bytes

Crates.io MIT licensed Docs CI

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;
Commit count: 38

cargo fmt