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 (2)

Label Occurrences
TextDecoderStream canonical 3
TextDecoderStream() 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Web API interface ⓘ
transform stream ⓘ
availableIn Web browsers ⓘ
secure contexts ⓘ
canBeUsedWith ReadableStream ⓘ
WritableStream ⓘ
pipeThrough() ⓘ
pipeTo() ⓘ
constructorParameter label ⓘ
options ⓘ
convertsFrom Uint8Array chunks ⓘ
binary data stream ⓘ
convertsTo text stream ⓘ
defaultEncoding utf-8 ⓘ
definedIn WHATWG Encoding Standard ⓘ
errorBehaviorWhenFatalFalse replaces malformed data with U+FFFD ⓘ
errorBehaviorWhenFatalTrue throws TypeError on decoding error ⓘ
exposedOn Window ⓘ
Worker ⓘ
handles incomplete byte sequences across chunks ⓘ
streaming decoding of multi-byte characters ⓘ
hasConstructor TextDecoderStream() ⓘ
linked to: TextDecoderStream
hasProperty readable ⓘ
writable ⓘ
implementsConcept TransformStream ⓘ
introducedFor streaming text decoding ⓘ
option fatal ⓘ
ignoreBOM ⓘ
optionDefault fatal: false ⓘ
ignoreBOM: false ⓘ
partOf Encoding API ⓘ
Web Streams API ⓘ
pattern byteStream.pipeThrough(new TextDecoderStream()) ⓘ
propertyType readable: ReadableStream<string> ⓘ
writable: WritableStream<Uint8Array> ⓘ
relatedInterface TextDecoder ⓘ
TextEncoderStream ⓘ
TransformStream ⓘ
specURL https://encoding.spec.whatwg.org/#interface-textdecoderstream ⓘ
status living standard ⓘ
supportsEncoding ISO-8859-1 ⓘ
linked to: ISO/IEC 8859-1

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

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

TransformStream → oftenUsedWith → TextDecoderStream ⓘ
TextEncoderStream → relatedTo → TextDecoderStream ⓘ
TextDecoderStream → hasConstructor → TextDecoderStream() ⓘ
linked to: TextDecoderStream
Encoding API → exposesInterface → TextDecoderStream ⓘ