Encoder class

*<Null safety>*

Constructors

Encoder ()

Properties

data ↔ ByteData

read / write

hashCode → int

The hash code for this object. ...
read-only, inherited

messageMessage

read-only

nextOutOfLineDepth → int

read-only

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

Methods

addHandle(Handle value) void
alloc(int size) int
allocComplete() void

This method should be invoked as soon as the out-of-line object created by a call to the alloc() method has been fully written.

countHandles() int
encodeBool(bool value, int offset) void
encodeFloat32(double value, int offset) void
encodeFloat64(double value, int offset) void
encodeInt8(int value, int offset) void
encodeInt16(int value, int offset) void
encodeInt32(int value, int offset) void
encodeInt64(int value, int offset) void
encodeMessageHeader(int ordinal, int txid) void
encodeUint8(int value, int offset) void
encodeUint16(int value, int offset) void
encodeUint32(int value, int offset) void
encodeUint64(int value, int offset) void
nextOffset() int
noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

toString() String

Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited