通过


TextDecoder interface

扩展

继承属性

encoding
fatal
ignoreBOM

方法

decode(AllowSharedBufferSource, TextDecodeOptions)

继承属性详细信息

encoding

encoding: string

属性值

string

继承自TextDecoderCommon.encoding

fatal

fatal: boolean

属性值

boolean

继承自TextDecoderCommon.fatal

ignoreBOM

ignoreBOM: boolean

属性值

boolean

继承自TextDecoderCommon.ignoreBOM

方法详细信息

decode(AllowSharedBufferSource, TextDecodeOptions)

function decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): string

参数

input

AllowSharedBufferSource

返回

string