PostGIS
2.2.8dev-r@@SVN_REVISION@@
◆
unzigzag8()
int8_t unzigzag8
(
uint8_t
val
)
Definition at line
195
of file
varint.c
.
Referenced by
header_from_twkb_state()
, and
test_zigzag()
.
196
{
197
return
!(val & 0x01) ?
198
((int8_t)(val >> 1)) :
199
(-1 * (int8_t)((val+1) >> 1));
200
}
Here is the caller graph for this function:
liblwgeom
varint.h
Generated by
1.8.13