hi
i want to store the integers in QByteArray as raw bytes.but the QByteArray converts it to character and then stores.
Qt Code:
QByteArray ba; qDebug()<<ba.size();//Prints 2 (i expect the size of qint32. ie.4)To copy to clipboard, switch view to plain text mode
How to store integer as raw bytes.
Thank u
Bookmarks