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.
Extends
Section titled “Extends”TransformStream<ArrayBuffer|ArrayBufferView,string>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TextDecoderStream(
label?,options?):TextDecoderStream
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:3007
Parameters
Section titled “Parameters”label?
Section titled “label?”string
options?
Section titled “options?”TextDecoderStreamTextDecoderStreamInit
Returns
Section titled “Returns”TextDecoderStream
Overrides
Section titled “Overrides”Properties
Section titled “Properties”readable
Section titled “readable”
readonlyreadable: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.
Inherited from
Section titled “Inherited from”writable
Section titled “writable”
readonlywritable: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.
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:3008
Returns
Section titled “Returns”string
Get Signature
Section titled “Get Signature”get fatal():
boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:3009
Returns
Section titled “Returns”boolean
ignoreBOM
Section titled “ignoreBOM”Get Signature
Section titled “Get Signature”get ignoreBOM():
boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:3010
Returns
Section titled “Returns”boolean