An implementation of the WHATWG Encoding Standard TextEncoder API.

See also:

Constructor

new()

Variables

read onlyencoding:String

The encoding supported by the TextEncoder instance.

See also:

Methods

encode(?input:String):Uint8Array

UTF-8 encodes the input string and returns a Uint8Array containing the encoded bytes.

See also: