Trixon
21st February 2012, 17:30
Hello,
I have a question about convertion QByteArray to int array.
Here is example:
QByteArray bin = file.readAll();
//"bin" has a {10101010101}
//for ex.: bin[0] returns 1, but it is not integer and I need to convert this to int array
//I want to have result int: n {the same}
I have a question about convertion QByteArray to int array.
Here is example:
QByteArray bin = file.readAll();
//"bin" has a {10101010101}
//for ex.: bin[0] returns 1, but it is not integer and I need to convert this to int array
//I want to have result int: n {the same}