PostGIS  2.4.9dev-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.

References _varint_u64_encode_buf(), and zigzag32().

Referenced by do_test_s32_varint().

96 {
97  return _varint_u64_encode_buf((uint64_t)zigzag32(val), buf);
98 }
static size_t _varint_u64_encode_buf(uint64_t val, uint8_t *buf)
Definition: varint.c:34
uint32_t zigzag32(int32_t val)
Definition: varint.c:175
Here is the call graph for this function:
Here is the caller graph for this function: