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