C++ (Qt) QByteArray ba; int count = 0; QDataStream ds(&ba, QIODevice::WriteOnly); ds << count;
C++ (Qt)this->metaObject()->propertyCount()
C++ (Qt) QString res; for(int i = 0;i<ba.size();++i) { res.append(QString("%1").arg(static_cast<int>(data[i]),2,16,QChar('0'))); if(i<(data.size()-1)) { res.append(' '); } }qDebug()<<res;
C++ (Qt) strcpy(outData, ba.constData());
C++ (Qt)strcpy(outData, res.toLatin1().constData());