PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ twkb_parse_state_varint()

static int64_t twkb_parse_state_varint ( twkb_parse_state s)

Definition at line 93 of file lwin_twkb.c.

94 {
95  size_t size;
96  int64_t val = varint_s64_decode(s->pos, s->twkb_end, &size);
98  return val;
99 }
char * s
Definition: cu_in_wkt.c:23
static void twkb_parse_state_advance(twkb_parse_state *s, size_t next)
Check that we are not about to read off the end of the WKB array.
Definition: lwin_twkb.c:82
int64_t varint_s64_decode(const uint8_t *the_start, const uint8_t *the_end, size_t *size)
Definition: varint.c:102

References s, twkb_parse_state_advance(), and varint_s64_decode().

Referenced by ptarray_from_twkb_state().

Here is the call graph for this function:
Here is the caller graph for this function: