aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/lzp/bit.h
blob: 5e7ed2392e2f1a006bf0f1478ae5ae1a362e6312 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#pragma once

extern const unsigned char* inPtr;
extern int inBytes;
extern unsigned char* outPtr;
extern int outBytes;

extern int bit_buf;
extern int bit_count;

#ifdef __cplusplus
extern "C" {
#endif

void init_bits();
void put_bits(int n, int x);
void flush_bits();
int get_bits(int n);

#ifdef __cplusplus
}
#endif