This project enables file compression and decompression using Huffman Encoding and Decoding in C.
- Reads raw bytes from the input file
- Builds frequency table
- Constructs a min-heap
- Builds the Huffman tree
- Generates symbol codes
- Writes:
- 2048-byte frequency table
- original file length
- compressed bitstream
- Reads the stored frequency table
- Reconstructs code map
- Rebuilds Huffman tree
- Decodes the compressed file back to original