serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint16(0, paramCount, Endian.little);
  data_.setUint16(2, paramIndexFirst, Endian.little);
  data_.setUint16(4, flags, Endian.little);
  data_.setUint8(6, paramArrayLen);
  MavlinkMessage.setUint8List(data_, 7, packetBuf);
  return data_;
}