aboutsummaryrefslogtreecommitdiff
path: root/lib/UnrarXLib/getbits.cpp
blob: 71ecfc875c109fcdfbf14e8d9cea6e74100ff8b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "rar.hpp"

BitInput::BitInput()
{
  InBuf=new byte[MAX_SIZE];
}


BitInput::~BitInput()
{
  delete[] InBuf;
}


void BitInput::faddbits(int Bits)
{
  addbits(Bits);
}


unsigned int BitInput::fgetbits()
{
  return(getbits());
}