MCPcopy Create free account
hub / github.com/LibRaw/LibRaw / checkoffset

Method checkoffset

src/utils/utils_libraw.cpp:692–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690 return libraw_sget2_static(_order, _data + offset);
691}
692void checked_buffer_t::checkoffset(int off)
693{
694 if (off >= _len || off < 0)
695 throw LIBRAW_EXCEPTION_IO_EOF;
696}
697unsigned char checked_buffer_t::operator[](int idx)
698{
699 checkoffset(idx);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected