deserializePayload method
int
deserializePayload(
- RegisterManeuverBuilder builder,
- ByteData byteData,
- Endian endianness,
- int offset,
override
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
Implementation
@override
int deserializePayload(imc.RegisterManeuverBuilder builder, ByteData byteData,
Endian endianness, int offset) {
var byteOffset = offset;
// field mid
builder.mid = byteData.getUint16(byteOffset, endianness);
byteOffset += 2;
return byteOffset - offset;
}