solana_program::entrypoint

Function deserialize

source
pub unsafe fn deserialize<'a>(
    input: *mut u8,
) -> (&'a Pubkey, Vec<AccountInfo<'a>>, &'a [u8])
Expand description

Deserialize the input arguments

The integer arithmetic in this method is safe when called on a buffer that was serialized by runtime. Use with buffers serialized otherwise is unsupported and done at one’s own risk.

§Safety