serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setInt16(0, sueTrimValueInput1, Endian.little);
  data_.setInt16(2, sueTrimValueInput2, Endian.little);
  data_.setInt16(4, sueTrimValueInput3, Endian.little);
  data_.setInt16(6, sueTrimValueInput4, Endian.little);
  data_.setInt16(8, sueTrimValueInput5, Endian.little);
  data_.setInt16(10, sueTrimValueInput6, Endian.little);
  data_.setInt16(12, sueTrimValueInput7, Endian.little);
  data_.setInt16(14, sueTrimValueInput8, Endian.little);
  data_.setInt16(16, sueTrimValueInput9, Endian.little);
  data_.setInt16(18, sueTrimValueInput10, Endian.little);
  data_.setInt16(20, sueTrimValueInput11, Endian.little);
  data_.setInt16(22, sueTrimValueInput12, Endian.little);
  data_.setUint8(24, sueNumberOfInputs);
  return data_;
}