ByteStream class

byte stream utility class for decoding

Constructors

ByteStream(Uint8List data)

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
no setter
readLength int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unreadLength int
no setter

Methods

checkBytesAvailable(int number) → void
checkEmpty() → void
isEnd() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAll() Uint8List
readBigInt(int number, {Endianness endianness = Endianness.Big}) BigInt
readByte() int
readBytes(int number) Uint8List
readHexString(int number) String
readInt(int number, {Endianness endianness = Endianness.Big}) int
toString() String
A string representation of this object.
override

Operators

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