Skip to content

Commit d38dd64

Browse files
ArgBuffer doc
1 parent e6bf4cc commit d38dd64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

elrond-wasm/src/types/arg_buffer.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
use alloc::vec::Vec;
22
use elrond_codec::TopEncodeOutput;
33

4+
/// Helper structure for providing arguments to all SC call functions other than async_call.
5+
/// It keeps argument lengths separately from the argument data itself.
6+
/// Argument data is concatenated into a single byte buffer.
47
pub struct ArgBuffer {
58
arg_lengths: Vec<usize>,
69
arg_data: Vec<u8>,

0 commit comments

Comments
 (0)