PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ varint_s64_encode_buf()

size_t varint_s64_encode_buf ( int64_t  val,
uint8_t buf 
)

Definition at line 89 of file varint.c.

90 {
91  return _varint_u64_encode_buf(zigzag64(val), buf);
92 }
uint64_t zigzag64(int64_t val)
Definition: varint.c:168
static size_t _varint_u64_encode_buf(uint64_t val, uint8_t *buf)
Definition: varint.c:34

References _varint_u64_encode_buf(), and zigzag64().

Referenced by bytebuffer_append_varint(), do_test_s64_roundtrip(), do_test_s64_varint(), and sizeof_bbox().

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