PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ byte_from_twkb_state()

static uint8_t byte_from_twkb_state ( twkb_parse_state s)
static

Byte Read a byte and advance the parse state forward.

Definition at line 160 of file lwin_twkb.c.

161 {
162  uint8_t val = *(s->pos);
164  return val;
165 }
char * s
Definition: cu_in_wkt.c:23
#define WKB_BYTE_SIZE
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
unsigned char uint8_t
Definition: uthash.h:79

References s, twkb_parse_state_advance(), and WKB_BYTE_SIZE.

Referenced by header_from_twkb_state().

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