Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.9
-
None
Description
https://doc.qt.io/qt-6/qcborstreamreader.html#hasNext
https://doc.qt.io/qt-6/qcborstreamreader.html#leaveContainer
Those documents say that hasNext is false when the end of the cborstream but it isn't.
Reproduce.
- Reading qquicktimeline's binary keyframes.
Its format is [ [ string, version, format [ data,........ ]]. - After reading all the data , call hasNext() before endContainer()
return value will be true. (expected value is false) - After calling next(), call hasNext()
return value will be false.
See also,