36 using Field = uint32_t;
38 inline ByteSpan readMessage(
const uint8_t*& p)
41 const uint8_t* start = p;
46 inline Field readField(
const uint8_t*& p)
51 inline void skipEntity(
const uint8_t*& p, Field field)
uint64_t readVarint64(const uint8_t *&p)
Definition varint.h:40
Span< const uint8_t > ByteSpan
Definition Span.h:60
uint32_t readVarint32(const uint8_t *&p)
Definition varint.h:35