Constant OUTPUT_BUFFER_OFFSETS_SIZE

Source
pub const OUTPUT_BUFFER_OFFSETS_SIZE: usize = 16;
Expand description

Size of the buffer in entries that is used to store buffer offsets.

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

This defines how many #[output] arguments and return values could exist in all methods of the payload together.

Overflow will result in an error.