binary primitive types
args[0]
"bytes"
Uint8Array
"str"
"cstr"
"\u0000"
"bool"
Generated using TypeDoc
binary primitive types
args[0]
"bytes"
aUint8Array
, which requires defining a bytesize length during decoding asargs[0]
"str"
a string, which requires defining a bytesize length during decoding asargs[0]
"cstr"
a null-terminated ("\u0000"
) string. the null termination byte character is automatically added when encoding"bool"
a boolean occupying a single byte