MCPcopy Create free account
hub / github.com/comaps/comaps / ReadVarInt64ArrayUntilBufferEnd

Class ReadVarInt64ArrayUntilBufferEnd

libs/coding/varint.hpp:202–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200{
201
202class ReadVarInt64ArrayUntilBufferEnd
203{
204public:
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
213private:
214 void const * m_pEnd;
215};
216
217class ReadVarInt64ArrayGivenSize
218{

Callers 2

ReadVarInt64ArrayFunction · 0.85
ReadVarUint64ArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected