serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, id, Endian.little);
  data_.setUint32(4, eventTimeBootMs, Endian.little);
  data_.setUint16(8, sequence, Endian.little);
  data_.setUint8(10, destinationComponent);
  data_.setUint8(11, destinationSystem);
  data_.setUint8(12, logLevels);
  MavlinkMessage.setUint8List(data_, 13, arguments);
  return data_;
}