TextDecoderStream class

The interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextDecoder.

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

TextDecoderStream([String? label = 'utf-8', TextDecoderOptions? options])
factory

Properties

encoding String

Available on TextDecoderCommon, provided by the PropsTextDecoderCommon extension

no setter
fatal bool

Available on TextDecoderCommon, provided by the PropsTextDecoderCommon extension

no setter
hashCode int
The hash code for this object.
no setterinherited
ignoreBOM bool

Available on TextDecoderCommon, provided by the PropsTextDecoderCommon extension

no setter
readable ReadableStream

Available on GenericTransformStream, provided by the PropsGenericTransformStream extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writable WritableStream

Available on GenericTransformStream, provided by the PropsGenericTransformStream extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited