TextDecoderStream

interface

interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon

variable

var TextDecoderStream: { … }

The constructor object for TextDecoderStream, used to create a transform stream that decodes a stream of bytes into a stream of strings.

Constructors

constructor

new TextDecoderStream(label?: string, options?: TextDecoderOptions): TextDecoderStream

Properties

readable

readonly readable: ReadableStream<string>

writable

readonly writable: WritableStream<AllowSharedBufferSource>

prototype

readonly prototype: TextDecoderStream