serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint16(0, result, Endian.little);
  data_.setUint8(2, targetSystem);
  data_.setUint8(3, targetComponent);
  data_.setUint8(4, directoryType);
  data_.setUint8(5, startIndex);
  data_.setUint8(6, count);
  return data_;
}