| 54 | } |
| 55 | |
| 56 | uint32_t PagedInputStream::readByte(bool failOnEof) { |
| 57 | if (UNLIKELY(inputBufferPtr_ == inputBufferPtrEnd_)) { |
| 58 | readBuffer(failOnEof); |
| 59 | if (state_ == State::END) { |
| 60 | return 0; |
| 61 | } |
| 62 | } |
| 63 | return static_cast<unsigned char>(*(inputBufferPtr_++)); |
| 64 | } |
| 65 | |
| 66 | void PagedInputStream::readHeader() { |
| 67 | uint32_t header = readByte(false); |
nothing calls this directly
no test coverage detected