Encode a UTF-8 string to a Uint8Array.
Uint8Array
The string to encode as UTF-8.
The encoded UTF-8 bytes.
Encode a UTF-8 string to a
Uint8Array.