Firefox Tomorrow

web api interface

TextDecoderStream

View on MDN ↗

Available in workers

The TextDecoderStream interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder. It implements the same shape as a TransformStream, allowing it to be used in pipeThrough() and similar methods.

Constructor

Instance properties

Examples

Examples of streaming structured data and HTML

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also