serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint16(0, seqnr, Endian.little);
  MavlinkMessage.setUint8List(data_, 2, data);
  return data_;
}