PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ twkb_parse_state_varint_skip()

static void twkb_parse_state_varint_skip ( twkb_parse_state s)
inlinestatic

Definition at line 117 of file lwin_twkb.c.

118{
119 size_t size = varint_size(s->pos, s->twkb_end);
120
121 if ( ! size )
122 lwerror("%s: no varint to skip", __func__);
123
125 return;
126}
char * s
Definition cu_in_wkt.c:23
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
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
size_t varint_size(const uint8_t *the_start, const uint8_t *the_end)
Definition varint.c:148

References lwerror(), s, twkb_parse_state_advance(), and varint_size().

Referenced by lwcollection_from_twkb_state(), lwmultiline_from_twkb_state(), lwmultipoint_from_twkb_state(), and lwmultipoly_from_twkb_state().

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