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)
int fileSize = fileLoadBinary.size();
int i = 0;
quint8 tempVariable;
while(i < fileSize)
{
in >> tempVariable;
qDebug() << tempVariable;
strngLst.
append(QString(tempVariable
));
i++;
}
qDebug() << strngLst;
QDataStream in(&fileLoadBinary);
int fileSize = fileLoadBinary.size();
int i = 0;
QStringList strngLst;
quint8 tempVariable;
while(i < fileSize)
{
in >> tempVariable;
qDebug() << tempVariable;
strngLst.append(QString(tempVariable));
i++;
}
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
Bookmarks