bytes_into_vec

Function bytes_into_vec 

Source
pub unsafe fn bytes_into_vec<T>(vec: Vec<u8>) -> Result<Vec<T>, UtilError>
Expand description

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

§Safety

Ummm… Say what?

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