ocl_core::util
pub unsafe fn bytes_to<T>(bytes: &[u8]) -> Result<T, UtilError>
Copies a slice of bytes to a new value of arbitrary type.
You may want to wear a helmet.