TransformStream extension type

The TransformStream interface of the Streams API represents a concrete implementation of the pipe chain transform stream concept.

It may be passed to the ReadableStream.pipeThrough method in order to transform a stream of data from one format into another. For example, it might be used to decode (or encode) video frames, decompress data, or convert the stream from XML to JSON.

A transformation algorithm may be provided as an optional argument to the object constructor. If not supplied, data is not modified when piped through the stream.

TransformStream is a transferable object.

on
Implemented types

Constructors

TransformStream([JSObject transformer, QueuingStrategy writableStrategy, QueuingStrategy readableStrategy])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
readable ReadableStream
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writable WritableStream
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