class

Huffman

Inherits Reference < Object

Constants

VERSION = "0.1.0"

Constructors

new(text : String)

Use phrase or letter to calculate hash map

Source
new

Use default ASCII table

Source

Instance methods

calculate(text)

Uses Huffman methods to encode Tree

Source
count_chars(text, chars)
Source
decode(encoded)
Source
encode(text)
Source
huffman(elements)
Source

Nested types