Skip to content

TextEncoderStream

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

The TextEncoderStream interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding.

MDN Reference

new TextEncoderStream(): TextEncoderStream

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

TextEncoderStream

TransformStream.constructor

readonly readable: ReadableStream<Uint8Array<ArrayBufferLike>>

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<string>

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:2996

string