Converts a JavaScript string to a sequence of UTF-8 bytes.
The string to convert to UTF-8.
Function which will be called for each UTF-8 byte of the string.
Converts a JavaScript string to a sequence of UTF-8 bytes.