#owned #ffi #array #data #vector

array-box

Create Rust vector from C data, either owned or not owned

3 stable releases

1.0.2 Oct 29, 2022
1.0.1 Oct 21, 2022

#31 in #owned

40 downloads per month
Used in value-box-ffi

MIT license

7KB
155 lines

ArrayBox

Crates.io MIT licensed

Create and access an array of items.

Examples:

ArrayBox::<u8>::from_vector(vec![0, 1, 2, 3, 4]);

No runtime deps