Serializes a string into a byte array.
A Uint8Array representation of the string, including its length as a u32 prefix.
Uint8Array
u32
The string to be converted.
Generated using TypeDoc
Serializes a string into a byte array.
Returns
A
Uint8Array
representation of the string, including its length as au32
prefix.