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);
MavlinkMessage.setUint8List(data_, 51, data);
data_.setUint8(179, bank);
return data_;
}