Function spl_pod::bytemuck::pod_bytes_of

source ·
pub fn pod_bytes_of<T: Pod>(t: &T) -> &[u8] 
Expand description

Convert a Pod into a slice of bytes (zero copy)