Function deserialize

Source
pub unsafe fn deserialize<'a, const MAX_ACCOUNTS: usize>(
    input: *mut u8,
    accounts: *mut MaybeUninit<AccountInfo>,
) -> (&'a Pubkey, usize, &'a [u8])
Expand description

Deserialize the input arguments.

This can only be called from the entrypoint function of a Solana program and with a buffer that was serialized by the runtime.