Function spl_pod::bytemuck::pod_from_bytes_mut

source ยท
pub fn pod_from_bytes_mut<T: Pod>(
    bytes: &mut [u8],
) -> Result<&mut T, ProgramError>
Expand description

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