Adaptive Huffman Encoder and Decoder written in C#.
Create instance:
var tree = new HuffTree();
Encode:
string encoded = tree.Encode(text);
Decode:
tree.Reset(); // reset tree before decoding. It will be automatically rebuilt
string decoded = tree.Decode(encoded);