BinaryReader class
Read binary data and advance the position.
Constructors
- BinaryReader(Uint8List buffer)
- Constructs a new binary reader.
Properties
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(
) → List< Uint8List> - Read List
-
readVectorInt32(
) → List< int> - Read List
-
readVectorInt64(
) → List< int> - Read List
-
readVectorObject<
T extends TlObject> () → List< T> - Read List
-
readVectorString(
) → List< String> - Read List
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited