serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint64(0, mask, Endian.little);
  data_.setInt32(8, lat, Endian.little);
  data_.setInt32(12, lon, Endian.little);
  data_.setUint16(16, gridSpacing, Endian.little);
  return data_;
}