Module solana_program::program_utils

source ·
Expand description

Contains a single utility function for deserializing from bincode.

Functions§

  • 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