class TextDecoderConstructorsnewTextDecoder(label?: string, options?: { fatal?: boolean; ignoreBOM?: boolean; })Propertiesreadonlyencoding: stringReturns encoding's name, lowercased. readonlyfatal: booleanReturns true if error mode is "fatal", and false otherwise. readonlyignoreBOM: booleanReturns true if ignore BOM flag is set, and false otherwise. readonly[Symbol.toStringTag]: stringMethodsdecode(input?: BufferSource, options?: { stream?: false; }): stringReturns the result of running encoding's decoder.