I want to replace a QByteArray with stdlib. The QByteArray is used for append various \'struct\' and after that, write it on a file.
How