]>
git.proxmox.com Git - libgit2.git/blob - src/util/varint.h
2 * Copyright (C) the libgit2 contributors. All rights reserved.
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
7 #ifndef INCLUDE_varint_h__
8 #define INCLUDE_varint_h__
10 #include "git2_util.h"
14 extern int git_encode_varint(unsigned char *, size_t, uintmax_t);
15 extern uintmax_t git_decode_varint(const unsigned char *, size_t *);