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