I’m using Qt for reading binary file. I read file with QFile object, but sometimes I need to go back at begining of the file and read file again, but I don’t know how to do that.
I’m using Qt for reading binary file. I read file with QFile object, but
Share
You can use the
seekfunction on your file :If you are reading the file using a
QTextStreamyou should use theseekfunction on the stream.