serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, ofs, Endian.little);
data_.setUint16(4, id, Endian.little);
data_.setUint8(6, count);
MavlinkMessage.setUint8List(data_, 7, data);
return data_;
}