TextEncoder
Implements a JavaScript TextEncoderAPI.
Constructors
Link copied to clipboard
Create a TextEncoder from a JavaScript encoding label.
constructor()
Create a TextEncoder which uses the default JavaScript encoding (UTF-8).
Properties
Functions
Link copied to clipboard
Encodes a string into a ByteArray containing the UTF-8 representation of the string, and then copies it into the provided output stream.
Encodes a string into a ByteArray containing the UTF-8 representation of the string, and then copies it into the provided byte buffer.
Encodes a string into a ByteArray containing the UTF-8 representation of the string, and then copies it into the provided writable channel.
Encodes a string into a ByteArray containing the UTF-8 representation of the string, and then copies it into the provided byte array.
Link copied to clipboard
Link copied to clipboard