[SOLVED] Reading bits from the file
-
Hello,
I would like to know if it is possible to read a binary file? Propagates to me about something like hexdump under Linux
-
Yes it is possible.
for "example":http://qt-project.org/forums/viewthread/6614/#38738
@
QFile file(fileName);
if (!file.open(QIODevice::ReadOnly))
return;
QByteArray blob = file.readAll();
@ -
Thanks, it worked. It was enough for what you wrote use .toHex () :)
-
Hi, if this answered your question, please place [SOLVED] in front of your first post!