Skip to content

TextEncoderStream

Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/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: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:2995

TextEncoderStream

TransformStream.constructor

readonly readable: ReadableStream<Uint8Array<ArrayBufferLike>>

Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/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: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/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: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:2996

string