BigIntByteStreamTransformer class
Transform a byte stream into a stream of BigInts
Constructors
- BigIntByteStreamTransformer(Endian endian, int bytesPerElement, {bool signed = false, bool sync = false, bool cancelOnError = false})
-
A class that transforms a stream of bytes into a stream of BigInts.
Use
bytesPerElement
to control how many bytes per BigInt. - BigIntByteStreamTransformer.broadcast(Endian endian, int bytesPerElement, {bool signed = false, bool sync = false, bool cancelOnError = false})
-
A class that transforms a stream of bytes into a broadcast stream of BigInts.
Use
bytesPerElement
to control how many bytes per BigInt.
Properties
- bytesPerElement → int
-
finalinherited
- cancelOnError → bool
-
finalinherited
- endian → Endian
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bind(
Stream< int> stream) → Stream<BigInt> -
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(
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