TextEncoder : Object
Encodes a String into a UTF-8 stream of bytes.
Constructors
new TextEncoder() : TextEncoder
Creates an encoder that can convert strings to a sequence of UTF-8 bytes.
Example:
RunResults:
Instance Methods
Writes value
as a sequence of UTF-8 bytes into destination
. Returns information about the number of characters read from value
and bytes written to destination
.
Example:
RunResults:
Copyright © JavaScripture Contributors