[][src]Function fil_ocl_core::util::bytes_to_vec

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

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

Safety

Negative.