Huffman::Node
Inherits Struct < Value < Object
Constructors
new(parent : Int32 = -1, left : Int32 = -1, right : Int32 = -1, count : Int64 = Int64::MAX, binary : Bool = false)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat)
SourceInstance methods
binary
Sourcebinary=(binary : Bool)
Sourcecount
Sourcecount=(count : Int64)
Sourceleaf?
Sourceleft
Sourceleft=(left : Int32)
Sourceparent
Sourceparent=(parent : Int32)
Sourceright
Sourceright=(right : Int32)
Sourceto_io(io : IO, format : IO::ByteFormat)
Source