Versions in this module Expand all Collapse all v1 v1.0.1 May 20, 2024 v1.0.0 Apr 24, 2024 Changes in this version + func GenerateCode(reuseCache []uint32, maxLen int, lens []uint32, rcodes []uint16) + func GenerateCode2(lens []uint32) + type LenLimitedCode struct + func NewLenLimitedCode() *LenLimitedCode + func (l *LenLimitedCode) Generate(limitedLen int, histogram []uint32, codeLens []uint32) int + type MoffatHuffmanCode struct + func (m *MoffatHuffmanCode) Generate(histogram []uint32) + type TreeGenerator interface + Generate func(maxLens int, histogram []uint32, codeLens []uint32) (num int)