pub fn pod_read_unaligned<T: AnyBitPattern>(bytes: &[u8]) -> TExpand description
Reads the slice into a T value.
Unlike from_bytes, the slice doesn’t need to respect alignment of T,
only sizes must match.
§Panics
- This is like
try_pod_read_unalignedbut will panic on failure.