AsyncMessageGrouper class

Collects stream data into messages by interpreting it as base-128 encoded lengths interleaved with raw data.

Implemented types

Constructors

AsyncMessageGrouper(Stream<List<int>> inputStream)

Properties

done Future<void>
Completes after cancel is called or inputStream is closed.
no setter
hashCode int
The hash code for this object.
no setterinherited
next Future<List<int>?>
Returns the next full message that is received, or null if none are left.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() Future
Stop listening to the stream for further updates.
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