| 58 | } |
| 59 | |
| 60 | void CodedInputDataCrypt::seek(size_t addedSize) { |
| 61 | m_position += addedSize; |
| 62 | m_decryptPosition += addedSize; |
| 63 | |
| 64 | if (m_position > m_size) { |
| 65 | throw out_of_range("OutOfSpace"); |
| 66 | } |
| 67 | assert(m_position % AES_IV_LEN == m_decrypter.m_number); |
| 68 | } |
| 69 | |
| 70 | void CodedInputDataCrypt::consumeBytes(size_t length, bool discardPreData) { |
| 71 | if (discardPreData) { |
nothing calls this directly
no outgoing calls
no test coverage detected