data
Unsafe function that alocates a new type T with no initialization.
Decode an UTF-8 encoded Uint8Array into a string.
array to decode
Parses the given bytes array to return a value of the given generic type. Supported types: bool, integer, string and data objects defined in model.ts.
Bytes to parse. Bytes must be not null.
A parsed value of type T.
Parses the given string to return a value of the given generic type. Supported types: bool, integer, string and data objects defined in model.ts.
String to parse. Must be not null.
A parsed value of type T.
Id of register to read from
Convert a given string into a Uint8Array encoded as UTF-8.
data to encode
Generated using TypeDoc
Calculates the byte length of the specified UTF-8 string, which can optionally be null terminated.