Represents a decoder for a specific text encoding, allowing you to convert binary data into a string given the encoding.
decode(input?: BufferSource,options?: TextDecodeOptions,): string
Turns binary data, often in the form of a Uint8Array, into a string given the encoding.