I have :
mybuffer = new char[265536]();
QDebug()<<" size buffer"<< the_qstream->device()->size();
mybuffer = new char[265536]();
QByteArray data = QByteArray::fromRawData(mybuffer, sizeof(mybuffer));
the_qstream = new QDataStream(&data , QIODevice::ReadWrite);
the_qstream->setVersion(QDataStream::Qt_4_6);
QDebug()<<" size buffer"<< the_qstream->device()->size();
To copy to clipboard, switch view to plain text mode
Ok, first I have 4 for the size buffer ???
And the_qstream<<a_float; fails at
inline int QByteArray::size() const { return d->size; }
Any help ? What am I doing bad ?
Bookmarks