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.
Extends
Section titled “Extends”TransformStream<string,Uint8Array>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TextEncoderStream():
TextEncoderStream
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2995
Returns
Section titled “Returns”TextEncoderStream
Overrides
Section titled “Overrides”Properties
Section titled “Properties”readable
Section titled “readable”
readonlyreadable: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.
Inherited from
Section titled “Inherited from”writable
Section titled “writable”
readonlywritable: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.
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”encoding
Section titled “encoding”Get Signature
Section titled “Get Signature”get encoding():
string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2996
Returns
Section titled “Returns”string