serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, ofs, Endian.little);
  data_.setUint32(4, count, Endian.little);
  data_.setUint16(8, id, Endian.little);
  data_.setUint8(10, targetSystem);
  data_.setUint8(11, targetComponent);
  return data_;
}