Function std::inputs::input_message_data_length
pub fn input_message_data_length(index: u64) -> Option<u64> Expand description
Gets the length of the input message at index.
Arguments
index: [u64] - The index of the input to check.
Returns
- [Option] - The length of the input message at
index, if the input’s type isInput::Message, elseNone.
Examples
use std::inputs::input_message_length;
fn foo() {
let input_message_length = input_message_length(0).unwrap();
assert(input_message_length != 0_u64);
}