PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ varint_s32_encode_buf()

size_t varint_s32_encode_buf ( int32_t  val,
uint8_t buf 
)

Definition at line 95 of file varint.c.

96 {
97  return _varint_u64_encode_buf((uint64_t)zigzag32(val), buf);
98 }
uint32_t zigzag32(int32_t val)
Definition: varint.c:175
static size_t _varint_u64_encode_buf(uint64_t val, uint8_t *buf)
Definition: varint.c:34

References _varint_u64_encode_buf(), and zigzag32().

Referenced by do_test_s32_varint().

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