protozero 1.7.1
Minimalistic protocol buffer decoder and encoder in C++.
|
#include <exception.hpp>
Public Member Functions | |
const char * | what () const noexcept override |
Returns the explanatory string. | |
![]() | |
const char * | what () const noexcept override |
Returns the explanatory string. | |
This exception is thrown when we are trying to read a field and there are not enough bytes left in the buffer to read it. Almost all functions of the pbf_reader class can throw this exception.
This should never happen unless the data is corrupted or you have initialized the pbf_reader object with incomplete data.