TextEncoderStream

interface

interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon

variable

var TextEncoderStream: { … }

The constructor object for TextEncoderStream, used to create a transform stream that encodes a stream of strings into a stream of UTF-8 bytes.

Constructors

constructor

new TextEncoderStream(): TextEncoderStream

Properties

readable

readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>

writable

readonly writable: WritableStream<string>

prototype

readonly prototype: TextEncoderStream