4 ms·
It's useful for handling data that came from outside Rust. If you have a byte array that you've received over a network connection that represents an array of
by brink 5y ago
It's useful for handling data that came from outside Rust.
If you have a byte array that you've received over a network connection that represents an array of floats, or you need to convert a 32bit RGBA pixel buffer that you got from some clang ffi binding to a byte pixel buffer without having to split/copy to a new vector.