pub fn from_bytes<T: Pod>(data: &[u8]) -> Result<(&T, &[u8]), ()>
Cast a byte slice to a Pod type.
Pod
Returns the type and the tail of the slice.