Skip to main content
class TextDecoderStream

Constructors

new
TextDecoderStream(label?: string, options?: TextDecoderOptions)

Properties

readonly
encoding: string

Returns encoding's name, lowercased.

readonly
fatal: boolean

Returns true if error mode is "fatal", and false otherwise.

readonly
ignoreBOM: boolean

Returns true if ignore BOM flag is set, and false otherwise.

readonly
readable: ReadableStream<string>
readonly
writable: WritableStream<BufferSource>
readonly
[Symbol.toStringTag]: string