BinaryReader class

Read binary data and advance the position.

Constructors

BinaryReader(Uint8List buffer)
Constructs a new binary reader.

Properties

buffer → Uint8List
Buffer.
final
hashCode → int
The hash code for this object.
no setterinherited
position → int
Gets the position.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBool() → bool
Read boolean.
readBytes() → Uint8List
Read Uint8List.
readDateTime() → DateTime
Read DateTime.
readFloat64() → double
Read double.
readInt128() → Int128
Read Int128.
readInt16([bool bigEndian = false]) → int
Read Int16.
readInt256() → Int256
Read Int256.
readInt32([bool bigEndian = false]) → int
Read Int32.
readInt64([bool bigEndian = false]) → int
Read Int64.
readObject() → TlObject
Read TlObject.
readRawBytes(int length) → Uint8List
Read raw Uint8List.
readString() → String
Read String.
readVectorBytes() → Vector<Uint8List>
Read List<Uint8List>.
readVectorInt32() → Vector<int>
Read List<int32>.
readVectorInt64() → Vector<int>
Read List<int64>.
readVectorObject<T extends TlObject>() → Vector<T>
Read List<TlObject>.
readVectorString() → Vector<String>
Read List<String>.
toString() → String
A string representation of this object.
inherited

Operators

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