27 #ifndef _LIBLWGEOM_VARINT_H
28 #define _LIBLWGEOM_VARINT_H 1
int64_t unzigzag64(uint64_t val)
int32_t unzigzag32(uint32_t val)
size_t varint_s32_encode_buf(int32_t val, uint8_t *buf)
size_t varint_size(const uint8_t *the_start, const uint8_t *the_end)
size_t varint_s64_encode_buf(int64_t val, uint8_t *buf)
int8_t unzigzag8(uint8_t val)
size_t varint_u64_encode_buf(uint64_t val, uint8_t *buf)
int64_t varint_s64_decode(const uint8_t *the_start, const uint8_t *the_end, size_t *size)
uint64_t zigzag64(int64_t val)
uint64_t varint_u64_decode(const uint8_t *the_start, const uint8_t *the_end, size_t *size)
uint32_t zigzag32(int32_t val)
uint8_t zigzag8(int8_t val)
size_t varint_u32_encode_buf(uint32_t val, uint8_t *buf)