Writer mixin
Methods to handle the writing of data
- Mixin applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
-
writeInt32(
int i) → void -
writeSlice(
Uint8List slice) → void -
writeUInt16(
int i) → void -
writeUInt32(
int i) → void -
writeUInt64(
BigInt i) → void - A BigInt is necessary to encode large 64-bit integers due to limits on the size of Javascript integers
-
writeUInt8(
int i) → void -
writeVarInt(
BigInt i) → void -
writeVarSlice(
Uint8List slice) → void - Writes bytes with the length encoded as a varint
-
writeVector(
List< Uint8List> vector) → void - Writes a list of Uint8List bytes with the length of the vector given by a varint.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited