Constructs a TextDecoder with an optional encoding name (defaults to UTF-8).
Optionalencoding: stringReadonlyencodingThe character encoding name used by this decoder, e.g. 'utf-8'.
Decodes a Uint8Array into a string using the instance's encoding.
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.
Decodes binary data from a Uint8Array into a string using a specified character encoding.