summaryrefslogtreecommitdiff
path: root/varint.h
blob: 032119579694f6a82f3947bfafb05a801385cb5a (plain)
1
2
3
4
5
6
7
8
9
#ifndef VARINT_H
#define VARINT_H

#include "git-compat-util.h"

extern int encode_varint(uintmax_t, unsigned char *);
extern uintmax_t decode_varint(const unsigned char **);

#endif /* VARINT_H */