StreamReader class

byte to bit string reader

Constructors

StreamReader(Uint8List _rawData, int dataLength)
constructor

Properties

dataLength int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBits(int length) String
get bit string value with length bits
getInt(int length) int
int value with the bit length
getInts(int length) List<int>
get int value with length bits.
getLittleEndianInt() int
get 4 bytes and then covert to little endian int.
getString(int length) String
get string value with length
getUint8List(int length) Uint8List
covert getInts return type List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
skip(int length) → void
skip bits with length
toString() String
A string representation of this object.
inherited

Operators

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