serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, customMode, Endian.little);
  data_.setUint32(4, properties, Endian.little);
  data_.setUint8(8, numberModes);
  data_.setUint8(9, modeIndex);
  data_.setUint8(10, standardMode);
  MavlinkMessage.setInt8List(data_, 11, modeName);
  return data_;
}