Constant OUTPUT_BUFFER_SIZE

Source
pub const OUTPUT_BUFFER_SIZE: usize = _; // 32_768usize
Expand description

Size of the buffer in bytes that is used as a stack for storing outputs.

This constant is helpful for transaction generation to check whether a created transaction doesn’t exceed this limit.

This defines how big the total size of #[output] arguments and return values could be in all methods of the payload together.

Overflow will result in an error.