DoubleByteListStreamTransformer class

Transform a byte list stream into a stream of doubles

Constructors

DoubleByteListStreamTransformer(Endian endian, Precision precision, {bool sync = false, bool cancelOnError = false})
A class that transforms a stream of byte lists into a stream of the IEEE 754 equivalents for the bytes. This is useful if your stream contains 32-bit floats or you need to control the endianness of the bytes.
DoubleByteListStreamTransformer.broadcast(Endian endian, Precision precision, {bool sync = false, bool cancelOnError = false})
A class that transforms a stream of byte lists into a broadcast stream of the IEEE 754 equivalents for the bytes. This is useful if your stream contains 32-bit floats or you need to control the endianness of the bytes.

Properties

bytesPerElement int
finalinherited
cancelOnError bool
finalinherited
endian Endian
finalinherited
hashCode int
The hash code for this object.
no setterinherited
precision Precision
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Stream<List<int>> stream) Stream<double>
Transforms the provided stream.
inherited
cast<RS, RT>() StreamTransformer<RS, RT>
Provides a StreamTransformer<RS, RT> view of this stream transformer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onData(List<int> data) → void
Receive new data from the parent stream
inherited
toString() String
A string representation of this object.
inherited

Operators

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