The “m_maxBsSize” is data of type “int”, and BitsDecoded() returns data of type “unsigned long long”, when the latter is large enough, the former minus the latter may get a positive number, although the former is smaller than the latter, which will causes no exception to be thrown(even if there is not enough data to read).
The “m_maxBsSize” is data of type “int”, and BitsDecoded() returns data of type “unsigned long long”, when the latter is large enough, the former minus the latter may get a positive number, although the former is smaller than the latter, which will causes no exception to be thrown(even if there is not enough data to read).