MCPcopy Index your code
hub / github.com/TheAlgorithms/Rust / decode

Method decode

src/general/huffman_encoding.rs:197–233  ·  view source on GitHub ↗

In case the encoding is invalid, `None` is returned

(&self, dict: &HuffmanDictionary<T>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

one_symbol_textFunction · 0.80
minimal_decode_end_checkFunction · 0.80
small_textFunction · 0.80
lorem_ipsumFunction · 0.80

Calls 4

pushMethod · 0.80
get_bitMethod · 0.80
lenMethod · 0.45
nextMethod · 0.45

Tested by 5

one_symbol_textFunction · 0.64
minimal_decode_end_checkFunction · 0.64
small_textFunction · 0.64
lorem_ipsumFunction · 0.64