Function shadow_pod::to_u8_slice
source ยท pub fn to_u8_slice<T>(slice: &[T]) -> &[MaybeUninit<u8>]where
T: Pod,
Expand description
Convert to a slice of raw bytes.
Some bytes may be uninitialized if T has padding.
pub fn to_u8_slice<T>(slice: &[T]) -> &[MaybeUninit<u8>]where
T: Pod,
Convert to a slice of raw bytes.
Some bytes may be uninitialized if T has padding.