Packer class
Constructors
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
-
packBinary(
List< int> buffer) → void -
packBinaryFixedLength(
int length, List< int> buffer) → void -
packBinaryFixedLengthOptional(
int length, List< int> ? buffer) → void -
packBinaryOptional(
List< int> ? buffer) → void -
packBool(
bool v) → void -
packBoolOptional(
bool? v) → void -
Pack bool or
null
. -
packDouble(
double v) → void -
packDoubleOptional(
double? v) → void -
packFloat(
double v) → void -
packFloatOptional(
double? v) → void -
packInt(
Int64 v) → void -
packInt16(
int v) → void -
packInt16Optional(
int? v) → void -
packInt32(
int v) → void -
packInt32Optional(
int? v) → void -
packInt64(
Int64 v) → void -
packInt64Optional(
Int64? v) → void -
Pack int or
null
. -
packInt8(
int v) → void -
packInt8Optional(
int? v) → void -
packIntOptional(
Int64? v) → void -
packLength(
int length) → void -
packNonNull(
) → void -
packNull(
) → void - Explicitly pack null value. Other packXXX implicitly handle null values.
-
packString(
String v) → void -
packStringOptional(
String? v) → void -
packUint(
Int64 v) → void -
packUint16(
int v) → void -
packUint16Optional(
int? v) → void -
packUint32(
int v) → void -
packUint32Optional(
int? v) → void -
packUint64(
Int64 v) → void -
packUint64Optional(
Int64? v) → void -
packUint8(
int v) → void -
packUint8Optional(
int? v) → void -
packUintOptional(
Int64? v) → void -
printBytes(
) → void -
takeBytes(
) → Uint8List -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited