Skip to content

TextDecoderStream

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:3003

The TextDecoderStream interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings.

MDN Reference

new TextDecoderStream(label?, options?): TextDecoderStream

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:3007

string

TextDecoderStreamTextDecoderStreamInit

TextDecoderStream

TransformStream.constructor

readonly readable: ReadableStream<string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2938

The readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.

MDN Reference

TransformStream.readable


readonly writable: WritableStream<ArrayBuffer | ArrayBufferView<ArrayBufferLike>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2944

The writable read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.

MDN Reference

TransformStream.writable

get encoding(): string

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:3008

string


get fatal(): boolean

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:3009

boolean


get ignoreBOM(): boolean

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:3010

boolean