Huffman
Inherits Reference < Object
TODO: Write documentation for Huffman
Constants
VERSION = "0.1.0"
Constructors
Class methods
compile(counts : Array(Int32), desc : Bool = false)
Sourcecompile(counts : Array(Int64), desc : Bool = false)
Sourcefrom_io(io : IO, format : IO::ByteFormat)
SourceInstance methods
binary(id : Int32)
Sourcecount(id : Int32)
Sourceleaf?(id : Int32)
Sourceleaf_num
Sourceleft(id : Int32)
Sourcenode(id : Int32) : Pointer(Node)
Sourcepath_code(id : Int32)
Sourcepath_codes
Sourcepath_codes
Sourceright(id : Int32)
Sourceto_io(io : IO, format : IO::ByteFormat)
Source