serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, extraValue, Endian.little);
  data_.setUint16(4, shutterSpeed, Endian.little);
  data_.setUint8(6, targetSystem);
  data_.setUint8(7, targetComponent);
  data_.setUint8(8, mode);
  data_.setUint8(9, aperture);
  data_.setUint8(10, iso);
  data_.setUint8(11, exposureType);
  data_.setUint8(12, commandId);
  data_.setUint8(13, engineCutOff);
  data_.setUint8(14, extraParam);
  return data_;
}