PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ varint_s32_encode_buf()

size_t varint_s32_encode_buf ( int32_t  val,
uint8_t *  buf 

Definition at line 87 of file varint.c.

References _varint_u64_encode_buf(), and zigzag32().

Referenced by do_test_s32_varint().

88 {
89  return _varint_u64_encode_buf((uint64_t)zigzag32(val), buf);
90 }
static size_t _varint_u64_encode_buf(uint64_t val, uint8_t *buf)
Definition: varint.c:26
uint32_t zigzag32(int32_t val)
Definition: varint.c:167
Here is the call graph for this function:
Here is the caller graph for this function: