Constructors
new TextDecoder()
new TextDecoder(label, options): TextDecoder
Parameters
label?
string | undefined
options?
TextDecoderOptions | undefined
Returns
TextDecoderProperties
encoding
readonly encoding: string
fatal
readonly fatal: boolean
ignoreBOM
readonly ignoreBOM: boolean
Methods
decode()
decode(input?: BufferSource | undefined, options?: TextDecodeOptions | undefined): string
Parameters
input?
BufferSource | undefined
options?
TextDecodeOptions | undefined
Returns
string

