TextDecoderStream
E856194
TextDecoderStream is a Web Streams API interface that converts a stream of binary data (such as Uint8Array chunks) into a stream of decoded text using a specified character encoding.
All labels observed (1)
| Label | Occurrences |
|---|---|
| TextDecoderStream canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T10328583 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: TextDecoderStream Context triple: [TransformStream, oftenUsedWith, TextDecoderStream]
-
A.
ReadableStream
ReadableStream is a web platform interface representing a source of streaming data that can be read incrementally, commonly used for handling network responses and other asynchronous data flows in JavaScript.
-
B.
ReadableStreamBYOBReader
ReadableStreamBYOBReader is a web streams API interface that lets consumers efficiently read binary data into their own pre-allocated buffers for finer control over performance and memory usage.
-
C.
ReadableStreamDefaultReader
ReadableStreamDefaultReader is a Web Streams API interface that provides exclusive, sequential access to the chunks of a ReadableStream in JavaScript.
-
D.
ReadableByteStreamController
ReadableByteStreamController is a Web Streams API interface that manages the internal state and data flow of a readable byte stream, including queuing, backpressure, and pulling data from an underlying source.
-
E.
TransformStream
TransformStream is a web streams API interface that enables transforming data chunks passing through a readable–writable stream pair, such as for compression, encryption, or format conversion in streaming workflows.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: TextDecoderStream Target entity description: TextDecoderStream is a Web Streams API interface that converts a stream of binary data (such as Uint8Array chunks) into a stream of decoded text using a specified character encoding.
-
A.
ReadableStream
ReadableStream is a web platform interface representing a source of streaming data that can be read incrementally, commonly used for handling network responses and other asynchronous data flows in JavaScript.
-
B.
ReadableStreamBYOBReader
ReadableStreamBYOBReader is a web streams API interface that lets consumers efficiently read binary data into their own pre-allocated buffers for finer control over performance and memory usage.
-
C.
ReadableStreamDefaultReader
ReadableStreamDefaultReader is a Web Streams API interface that provides exclusive, sequential access to the chunks of a ReadableStream in JavaScript.
-
D.
ReadableByteStreamController
ReadableByteStreamController is a Web Streams API interface that manages the internal state and data flow of a readable byte stream, including queuing, backpressure, and pulling data from an underlying source.
-
E.
TransformStream
TransformStream is a web streams API interface that enables transforming data chunks passing through a readable–writable stream pair, such as for compression, encryption, or format conversion in streaming workflows.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Web API interface
ⓘ
transform stream ⓘ |
| availableIn |
Web browsers
NERFINISHED
ⓘ
secure contexts ⓘ |
| canBeUsedWith |
ReadableStream
NERFINISHED
ⓘ
WritableStream NERFINISHED ⓘ pipeThrough() ⓘ pipeTo() ⓘ |
| constructorParameter |
label
ⓘ
options ⓘ |
| convertsFrom |
Uint8Array chunks
ⓘ
binary data stream ⓘ |
| convertsTo | text stream ⓘ |
| defaultEncoding | utf-8 ⓘ |
| definedIn | WHATWG Encoding Standard NERFINISHED ⓘ |
| errorBehaviorWhenFatalFalse | replaces malformed data with U+FFFD ⓘ |
| errorBehaviorWhenFatalTrue | throws TypeError on decoding error ⓘ |
| exposedOn |
Window
NERFINISHED
ⓘ
Worker NERFINISHED ⓘ |
| handles |
incomplete byte sequences across chunks
ⓘ
streaming decoding of multi-byte characters ⓘ |
| hasConstructor | TextDecoderStream() NERFINISHED ⓘ |
| hasProperty |
readable
ⓘ
writable ⓘ |
| implementsConcept | TransformStream NERFINISHED ⓘ |
| introducedFor | streaming text decoding ⓘ |
| option |
fatal
ⓘ
ignoreBOM ⓘ |
| optionDefault |
fatal: false
ⓘ
ignoreBOM: false ⓘ |
| partOf |
Encoding API
NERFINISHED
ⓘ
Web Streams API NERFINISHED ⓘ |
| pattern | byteStream.pipeThrough(new TextDecoderStream()) ⓘ |
| propertyType |
readable: ReadableStream<string>
ⓘ
writable: WritableStream<Uint8Array> ⓘ |
| relatedInterface |
TextDecoder
NERFINISHED
ⓘ
TextEncoderStream NERFINISHED ⓘ TransformStream NERFINISHED ⓘ |
| specURL | https://encoding.spec.whatwg.org/#interface-textdecoderstream ⓘ |
| status | living standard ⓘ |
| supportsEncoding |
ISO-8859-1
NERFINISHED
ⓘ
UTF-16BE ⓘ UTF-16LE ⓘ UTF-8 ⓘ Windows-1252 ⓘ |
| useCase |
decoding WebSocket binary messages to text
ⓘ
decoding fetch Response body as text stream ⓘ decoding readable byte streams from other APIs ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: TextDecoderStream Description of subject: TextDecoderStream is a Web Streams API interface that converts a stream of binary data (such as Uint8Array chunks) into a stream of decoded text using a specified character encoding.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.