HXNODEJS - API documentation
View source

class TextDecoderStream

package js.node.web

@:native("TextDecoderStream")

A transform stream that decodes bytes into strings.

See also:

  • https://nodejs.org/api/globals.html#class-textdecoderstream

  • https://nodejs.org/api/webstreams.html#class-textdecoderstream

Constructor

new(?label:String, ?options:TextDecoderStreamOptions)

Variables

read onlyencoding:String

read onlyfatal:Bool

read onlyignoreBOM:Bool

read onlyreadable:ReadableStream

read onlywritable:WritableStream

© 2026