MCPcopy Create free account
hub / github.com/comaps/comaps / Init

Method Init

libs/coding/huffman.hpp:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 // the EncodeAndWrite and ReadAndDecode methods available.
99 template <typename... Args>
100 void Init(Args const &... args)
101 {
102 Clear();
103 BuildHuffmanTree(Freqs(args...));
104 BuildTables(m_root, 0);
105 }
106
107 void Clear();
108

Callers

nothing calls this directly

Calls 2

ClearFunction · 0.85
FreqsClass · 0.85

Tested by

no test coverage detected