This commit is contained in:
glenux 2005-10-30 20:25:32 +00:00
parent 0fb69b4c05
commit 21357f2fb5
2 changed files with 3 additions and 2 deletions

View file

@ -20,11 +20,12 @@ namespace EydLib {
BitGroup _rle;
BitGroup _last_group;
int _last_count;
int _group_size;
std::list<BitGroup> _compressed;
public:
BitCompressor();
BitCompressor::BitCompressor(int size);
void clear();
void append(BitGroup bg);

View file

@ -28,7 +28,7 @@ int main(int argc, char ** argv){
unsigned char c = (unsigned char)cell_size;
bitwrite.writeDirect(&c, 1);
EydLib::BitCompressor compressor;
EydLib::BitCompressor compressor(cell_size);
printf("File opened\n");