Function ocl_core::util::bytes_into_vec [] [src]

pub unsafe fn bytes_into_vec<T>(vec: Vec<u8>) -> OclResult<Vec<T>>

Converts a vector of bytes into a vector of arbitrary type.

Safety

Ummm... Say what?

TODO: Consider using alloc::heap::reallocate_inplace equivalent.