Creates a new TextEncoder instance.
Encodes a string into a Uint8Array using UTF-8.
Encodes a string into an existing Uint8Array in place.
Returns the name of this object's type.
Returns true if the object is of the specified type.
Returns true if this object refers to the same instance as the given object.
Encodes strings into UTF-8 byte arrays.