Function ocl_core::util::bytes_to [] [src]

pub unsafe fn bytes_to<T>(bytes: &[u8]) -> OclResult<T>

Copies a slice of bytes to a new value of arbitrary type.

Safety

You may want to wear a helmet.