Skip to content

ismaildrs/huffman-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman Compression

Getting Started

To build the executable file, navigate to the build directory and run:

cd build
make

Compression

To compress a file, use the following command:

./hc -z <fileName> <binaryFile>

Decompression

To decompress a file, use the following command:

./hc -uz <treeSerializationFile> <binaryFile> <outputFile>

Help

For a list of available commands, use:

./hc -h