2016-03-08 19:30 GMT+02:00 Thiago Macieira <thiago.macie...@intel.com>: > Indeed, but look at how you've combined two or more examples. You have a byte > array, you create a QDataStream on it, write some data, then you used > QDataStream to write that byte array to another byte array. You probably > didn't want that.
It could be useful, if I want to write checksum of the data to the file. To do this, I can write some data to the QByteArray wrapped in QDataStream, then calculate checksum using qChecksum() (or QCriptographicHash) and then write byte array and checksum to the file. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest