pub fn pod_from_bytes<T: Pod>(bytes: &[u8]) -> Result<&T, ProgramError>
Expand description

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