serializePayload method
Call to serialize only the payload, no header, returns a int with a serialized size
Implementation
@override
int serializePayload(
imc.QueryEntityState? message, ByteData byteData, int offset) {
if (message == null) return 0;
var byteOffset = offset;
return byteOffset - offset;
}