TextEncoderStream 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 TextEncoder.

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

Constructors

TextEncoderStream()
factory

Properties

encoding String

Available on TextEncoderCommon, provided by the PropsTextEncoderCommon extension

no setter
hashCode int
The hash code for this object.
no setterinherited
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