[][src]Module solana_sdk::program_utils

Traits

DecodeError

Allows customer errors to be decoded back to their original enum

Functions

is_executable

Return true if the first keyed_account is executable, used to determine if the loader should call a program's 'main'

limited_deserialize

Deserialize with a limit based the maximum amount of data a program can expect to get. This function should be used in place of direct deserialization to help prevent OOM errors

next_account_info

Return the next AccountInfo or a NotEnoughAccountKeys error

next_keyed_account

Return the next KeyedAccount or a NotEnoughAccountKeys error