PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@
varint.h File Reference
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for varint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

size_t varint_u32_encode_buf (uint32_t val, uint8_t *buf)
 
size_t varint_s32_encode_buf (int32_t val, uint8_t *buf)
 
size_t varint_u64_encode_buf (uint64_t val, uint8_t *buf)
 
size_t varint_s64_encode_buf (int64_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 varint_u64_decode (const uint8_t *the_start, const uint8_t *the_end, size_t *size)
 
size_t varint_size (const uint8_t *the_start, const uint8_t *the_end)
 
uint64_t zigzag64 (int64_t val)
 
uint32_t zigzag32 (int32_t val)
 
uint8_t zigzag8 (int8_t val)
 
int64_t unzigzag64 (uint64_t val)
 
int32_t unzigzag32 (uint32_t val)
 
int8_t unzigzag8 (uint8_t val)