BytesReader class

Constructors

BytesReader(Uint8List bytes)
const

Properties

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

Methods

isEqual(int value, int offset, int byteLength) → dynamic
read int of byteLength at offset and compare it with value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBytes(int offset, int byteLength) Uint8List
read bytes list from offset of specified byteLength
readSingleByte(int offset) int
read single byte at offset
readText(int offset, int byteLength) String
read text from offset of specified byteLength
readUint(int offset, int byteLength) int
read int at offset of specified byteLength
toBuffer() Uint8List
extract as Uint8List
toByteData() ByteData
extract as ByteData
toString() String
A string representation of this object.
inherited

Operators

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