Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.10.1
-
None
Description
If you make back to back calls to skipRawData the QIODevice will have essentially only skipped the number of bytes in the last skipRawData call.
stream.skipRawData( 16 ); // position is now pos + 16 stream.skipRawData( 16 ); // position is still pos + 16 (not pos + 32)
We ran into this reading binary data out of a file. Looking at QIODevice::skip it may not affect text based reading of a QFile.
Making calls this way works correctly in 5.9.5