serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, requestId, Endian.little);
data_.setUint8(4, targetSystem);
data_.setUint8(5, targetComponent);
data_.setUint8(6, bustype);
data_.setUint8(7, bus);
data_.setUint8(8, address);
MavlinkMessage.setInt8List(data_, 9, busname);
data_.setUint8(49, regstart);
data_.setUint8(50, count);
data_.setUint8(51, bank);
return data_;
}