serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, i321, Endian.little);
  data_.setFloat32(4, f1, Endian.little);
  data_.setFloat32(8, f2, Endian.little);
  data_.setFloat32(12, f3, Endian.little);
  data_.setFloat32(16, f4, Endian.little);
  data_.setFloat32(20, f5, Endian.little);
  data_.setFloat32(24, f6, Endian.little);
  data_.setFloat32(28, f7, Endian.little);
  data_.setFloat32(32, f8, Endian.little);
  data_.setUint8(36, i81);
  data_.setUint8(37, i82);
  return data_;
}