Converts a string to a UTF-8 encoded byte array.
The string to convert
A Uint8Array containing the UTF-8 encoded bytes
Converts a string to a UTF-8 encoded byte array.