Returns the result of running UTF-8's encoder.
Optional
input: stringString to encode.
Encoded buffer.
Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.
String to encode.
Array to overwrite.
Progress.
Encoder for WTF-8.