CMath/varint.h
2018-11-24 17:48:38 +01:00

14 lines
260 B
C

#ifndef VARINT_H
#define VARINT_H
#include "bits.h"
typedef char * varint;
varint varint_encode(unsigned long long);
unsigned long long varint_decode(varint);
unsigned long long zigzag_encode(long long);
long long zigzag_decode(unsigned long long);
#endif