| 200 | { |
| 201 | |
| 202 | class ReadVarInt64ArrayUntilBufferEnd |
| 203 | { |
| 204 | public: |
| 205 | explicit ReadVarInt64ArrayUntilBufferEnd(void const * pEnd) : m_pEnd(pEnd) {} |
| 206 | bool Continue(void const * p) const |
| 207 | { |
| 208 | ASSERT_LESS_OR_EQUAL(reinterpret_cast<uintptr_t>(p), reinterpret_cast<uintptr_t>(m_pEnd), ()); |
| 209 | return p < m_pEnd; |
| 210 | } |
| 211 | void NextVarInt() {} |
| 212 | |
| 213 | private: |
| 214 | void const * m_pEnd; |
| 215 | }; |
| 216 | |
| 217 | class ReadVarInt64ArrayGivenSize |
| 218 | { |
no outgoing calls
no test coverage detected