serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, size, Endian.little);
  data_.setUint32(4, crc, Endian.little);
  data_.setUint8(8, targetSystem);
  data_.setUint8(9, targetComponent);
  return data_;
}