Constructor
TextDecoderStream()-
Creates a new
TextDecoderStreamobject.
Instance properties
TextDecoderStream.encodingRead only-
An encoding.
TextDecoderStream.fatalRead only-
A
Booleanindicating if the error mode is fatal. TextDecoderStream.ignoreBOMRead only-
A
Booleanindicating whether the byte order mark is ignored. TextDecoderStream.readableRead only-
Returns the
ReadableStreaminstance controlled by this object. TextDecoderStream.writableRead only-
Returns the
WritableStreaminstance controlled by this object.
Examples
Specifications
| Specification |
|---|
| Encoding # interface-textdecoderstream |
Browser compatibility
See also
TextEncoderStreamTextDecoderTransformStream- Streams API Concepts
- Experimenting with the Streams API
- Streaming requests with the fetch API, developer.chrome.com (2020)