Strings
Represents a string value.
Includes an optional parameter for length which will default to
datatypes.vlq(3)
.
The length datatype should NOT be a regular number—instead: use a
datatype that represents a number, like a uint
, or a
range
.
function light.datatypes.str
A couple of ways you could use the optional length
parameter: