projects
/
vuplus_xbmc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #4852 from FernetMenta/aefixes
[vuplus_xbmc]
/
lib
/
UnrarXLib
/
getbits.cpp
1
#include "rar.hpp"
2
3
BitInput::BitInput()
4
{
5
InBuf=new byte[MAX_SIZE];
6
}
7
8
9
BitInput::~BitInput()
10
{
11
delete[] InBuf;
12
}
13
14
15
void BitInput::faddbits(int Bits)
16
{
17
addbits(Bits);
18
}
19
20
21
unsigned int BitInput::fgetbits()
22
{
23
return(getbits());
24
}