Byte Read a byte and advance the parse state forward.
Definition at line 264 of file lwin_wkb.c.
265{
266 char char_value = 0;
267 LWDEBUG(4,
"Entered function");
268
271 return 0;
272 LWDEBUG(4,
"Passed state check");
273
274 char_value =
s->pos[0];
275 LWDEBUGF(4,
"Read byte value: %x", char_value);
277
278 return char_value;
279}
#define LWDEBUG(level, msg)
#define LWDEBUGF(level, msg,...)
static void wkb_parse_state_check(wkb_parse_state *s, size_t next)
Check that we are not about to read off the end of the WKB array.
References LWDEBUG, LWDEBUGF, s, WKB_BYTE_SIZE, and wkb_parse_state_check().
Referenced by lwgeom_from_wkb_state().