ImcSerializer<M extends Message?, B> class abstract

This is the interface for serializing the IMC messages

Implementers

Constructors

ImcSerializer()

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

deserialize(Uint8List data) → M
Call to deserialize the all message
deserializePayload(B builder, ByteData byteData, Endian endianness, int offset) int
Call to deserialize only the payload, no header. The Builder is to allow passing the message to build into. returns a int with a serialized size
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(M message) ByteData
Call to serialize the all message, returns a ByteData with a serialized message
serializePayload(M message, ByteData byteData, int offset) int
Call to serialize only the payload, no header, returns a int with a serialized size
toString() String
A string representation of this object.
inherited

Operators

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