Skip to main content

load_unchecked

Function load_unchecked 

Source
pub fn load_unchecked<'data, T: Pod>(
    input: &'data [u8],
) -> Result<&'data T, ProgramError>
Expand description

Load a reference without checking if the data is initialized