The huffman coding is mainly used to compress files that are not already compressed already ( the reason why I say this for is because if you are trying to compress a already compressed file then the assignment 5 will add on more header details onto the file for decompressing the compressed file.
This is a follow on from the part 1 of the assignment 5 this is the decompression of the compressed file.
So to start with, I need to read in the header file of the compressed file. For example if I was going to compress the file
hello there |
then the compressed file will be
104=2|101=3|108=2|111=1|32=1|116=1|114=1|-1=1|;u