pub fn pod_read_unaligned<T: CheckedBitPattern>(bytes: &[u8]) -> TExpand description
Reads the slice into a T value.
ยงPanics
- This is like
try_pod_read_unalignedbut will panic on failure.
pub fn pod_read_unaligned<T: CheckedBitPattern>(bytes: &[u8]) -> TReads the slice into a T value.
try_pod_read_unaligned but will panic on failure.