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