Definition at line 91 of file lwin_wkb.c.
98 lwerror(
"Invalid hex string, length (%d) has to be a multiple of two!", hexsize);
103 lwerror(
"Unable to allocate memory buffer.");
105 for( i = 0; i < hexsize/2; i++ )
110 lwerror(
"Invalid hex character (%c) encountered", hexbuf[2*i]);
112 lwerror(
"Invalid hex character (%c) encountered", hexbuf[2*i+1]);
114 buf[i] = ((h1 & 0x0F) << 4) | (h2 & 0x0F);
void * lwalloc(size_t size)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static uint8_t hex2char[256]
References hex2char, lwalloc(), and lwerror().
Referenced by lwgeom_from_hexwkb(), and LWGEOM_in().