spl_pod::bytemuck

Function pod_slice_to_bytes

Source
pub fn pod_slice_to_bytes<T: Pod>(slice: &[T]) -> &[u8] 
Expand description

Convert a Pod slice into a single slice of bytes