bytes_to_vec

Function 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.