MDN Web Docs

Constructor

TextDecoderStream()

Creates a new TextDecoderStream object.

Instance properties

TextDecoderStream.encoding Read only

An encoding.

TextDecoderStream.fatal Read only

A Boolean indicating if the error mode is fatal.

TextDecoderStream.ignoreBOM Read only

A Boolean indicating whether the byte order mark is ignored.

TextDecoderStream.readable Read only

Returns the ReadableStream instance controlled by this object.

TextDecoderStream.writable Read only

Returns the WritableStream instance controlled by this object.

Examples

Examples of streaming structured data and HTML

Specifications

Specification
Encoding
# interface-textdecoderstream

Browser compatibility

See also

Help improve MDN

Yes No

Learn how to contribute

This page was last modified on by MDN contributors.

Read the original on developer.mozilla.org ↗