summaryrefslogtreecommitdiff
path: root/private_include/leb128.h
blob: 5550c91dee43dc9251c79d49855a950b990f12c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
#ifndef LEB128_H
#define LEB128_H

#include <stdio.h>

int leb128_read_unsigned(FILE *f, unsigned maxbits, unsigned long long *out);
int leb128_read_signed(FILE *f, unsigned maxbits, long long *out);

#endif