Function safe_token_2022::pod::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 into a mutable Pod
(zero copy)
pub fn pod_from_bytes_mut<T: Pod>(
bytes: &mut [u8]
) -> Result<&mut T, ProgramError>
Convert a slice into a mutable Pod
(zero copy)