BinaryReader class

Constructors

BinaryReader(Uint8List bytes)

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
no setter
position int
Sets this reader's position. If new position is negative, it is treated as current_position() + new_position
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getByte() int
Reads the byte at this reader's current position
getBytes(int length) ByteData
This method transfers bytes from this reader into the ByteData.
getDouble() double
Reads the next eight bytes at this reader's current position, composing them into a double value according to the little-endian order
getVarint() int
Reads an unsigned integer as a base-128 varint. The number is written, 7 bits at a time, from the least significant to the most significant 7 bits. Each byte, except the last, has the MSB set.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readInt64() int
Reads the next eight bytes at this reader's current position, composing them into a long value according to the little-endian order
toString() String
A string representation of this object.
inherited

Operators

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