Function ocl_core::util::bytes_to_vec [] [src]

pub unsafe fn bytes_to_vec<T>(bytes: &[u8]) -> OclResult<Vec<T>>

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

Safety

Negative.