🗜️Huffman encoding (not use external tool)

by lighfu

Version 1 (November 6, 2022)

Download (25 downloads)

Huffman encoding is General Data Compression Algorithm.

This algorithm is widely used and is the most efficient and compressible.

This flowchart allows you to test Huffman coding. If the processing is slow, please readjust the Stack Size in the app settings.

* Memo
- Required premium...
- You must always have two different characters.
"A", "BBB", etc. are not handled correctly.


An easy-to-read (maybe) overview of the flow chart
https://gyazo.com/9d14b16edca4c796a90ee13474724930


Subroutine Arguments

- getTree → Return TreeData{}
 arg__string__binaryString


- Encoder → Return EncodedData
 arg__string__binaryString
 arg__dictionary__treeData from getTree


- Decoder → Return OriginalData
 arg__string__encodedData
 arg__dictionary__treeData from getTree

5.0 average rating from 1 reviews

5 stars
1
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.