Converts a UTF-8 string to bytes. Output is an encoded array of bytes. Assumes UTF-8 encoding.
Optional
string to be encoded as an array of bytes
Converts a UTF-8 string to bytes. Output is an encoded array of bytes. Assumes UTF-8 encoding.