Hi all
Look at this code
long buffer = 2048;
QString cmd = "some strings here";
long buffer = 2048;
QByteArray array;
To copy to clipboard, switch view to plain text mode
I want get first 2048 byte from QString cmd to array in Utf8. Dont know how. Any suggestions?
And when i got first 2048 byte, how to take next bytes.
In QFile is simple
file.seek(buffer);
array = file.read(buffer);
QFile file("file");
QByteArray array = file.read(buffer);
file.seek(buffer);
array = file.read(buffer);
To copy to clipboard, switch view to plain text mode
Ty for any help.
Bookmarks