varint: make it available outside the context of pack
[git/git.git] / varint.h
CommitLineData
d2c18985
JH
1#ifndef VARINT_H
2#define VARINT_H
3
4#include "git-compat-util.h"
5
6extern int encode_varint(uintmax_t, unsigned char *);
7extern uintmax_t decode_varint(const unsigned char **);
8
9#endif /* VARINT_H */