serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, requestId, Endian.little);
  data_.setUint8(4, result);
  data_.setUint8(5, regstart);
  data_.setUint8(6, count);
  MavlinkMessage.setUint8List(data_, 7, data);
  data_.setUint8(135, bank);
  return data_;
}