[−][src]Function fil_ocl_core::util::bytes_into_vec
pub unsafe fn bytes_into_vec<T>(vec: Vec<u8>) -> Result<Vec<T>, UtilError>
Converts a vector of bytes into a vector of arbitrary type.
Safety
Ummm... Say what?
TODO: Consider using alloc::heap::reallocate_inplace
equivalent.