Interpret a string as UTF-8 and encode it as a Uint8Array.
For the reverse, see binToUtf8.
the string to encode
Generated using TypeDoc
Interpret a string as UTF-8 and encode it as a Uint8Array.
For the reverse, see binToUtf8.