The program generates the huffman encoded text of a given text.
Also, it can generate the decoded text of a string of bites.
For the Huffman Codification you only have to set the mode to Encode
and press the run button.
The Huffman Codification will be generated in the Encoded text
section by pressing the Run
The output will be the encoded text and the codification.
The codification has the following structure:
- the codified character [first line]
- the codification [second line]
- number of occurrences [third line]
Huffman Decodification is called if the Mode
field is set to Decode
You must have a codification in the Codification
box and you also have to write the encoded text.
To test it, try to encode something, then edit the Encoded text
field, then decode what you have.