Share via


TextDecoder interface

Extends

Inherited Properties

encoding
fatal
ignoreBOM

Methods

decode(AllowSharedBufferSource, TextDecodeOptions)

Inherited Property Details

encoding

encoding: string

Property Value

string

Inherited From TextDecoderCommon.encoding

fatal

fatal: boolean

Property Value

boolean

Inherited From TextDecoderCommon.fatal

ignoreBOM

ignoreBOM: boolean

Property Value

boolean

Inherited From TextDecoderCommon.ignoreBOM

Method Details

decode(AllowSharedBufferSource, TextDecodeOptions)

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

Parameters

input

AllowSharedBufferSource

Returns

string