serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setInt32(0, sueLatOrigin, Endian.little);
  data_.setInt32(4, sueLonOrigin, Endian.little);
  data_.setInt32(8, sueAltOrigin, Endian.little);
  data_.setInt16(12, sueWeekNo, Endian.little);
  return data_;
}