Function ocl_core::util::bytes_to_vec

source ·
pub unsafe fn bytes_to_vec<T>(bytes: &[u8]) -> Result<Vec<T>, UtilError>
Expand description

Copies a slice of bytes into a vector of arbitrary type.

Safety

Negative.