PostGIS  2.3.7dev-r@@SVN_REVISION@@
int64_t bytebuffer_read_varint ( bytebuffer_t s)

Reads a signed varInt from the buffer.

Definition at line 301 of file bytebuffer.c.

References bytebuffer_t::buf_start, bytebuffer_t::capacity, bytebuffer_t::readcursor, and varint_s64_decode().

302 {
303  size_t size;
304  int64_t val = varint_s64_decode(b->readcursor, b->buf_start + b->capacity, &size);
305  b->readcursor += size;
306  return val;
307 }
int64_t varint_s64_decode(const uint8_t *the_start, const uint8_t *the_end, size_t *size)
Definition: varint.c:102

Here is the call graph for this function: