Good Day,

I have a binary field, that I need to read bit by bit
Is there a way to read in the actual binary values of a file.

I got this so far, but it reads per byte(quint8)

Qt Code:
  1. QDataStream in(&fileLoadBinary);
  2. int fileSize = fileLoadBinary.size();
  3. int i = 0;
  4. QStringList strngLst;
  5. quint8 tempVariable;
  6. while(i < fileSize)
  7. {
  8. in >> tempVariable;
  9. qDebug() << tempVariable;
  10. strngLst.append(QString(tempVariable));
  11. i++;
  12. }
  13. qDebug() << strngLst;
To copy to clipboard, switch view to plain text mode 

I want the actual binary values of the file(bit by bit)
Whats the way forward?

Help is much appreciated
Kind Regards