MCPcopy Create free account
hub / github.com/algorithm-archivists/algorithm-archive / decode

Function decode

contents/huffman_encoding/code/c/huffman.c:242–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242char* decode(const char* input, const struct tree* tree) {
243 char* result = calloc(1, 1);
244 do {
245 input = decode_recurse(input, tree, &result);
246 } while (*input);
247 return result;
248}
249
250int main() {
251 struct tree* tree;

Callers 1

mainFunction · 0.70

Calls 1

decode_recurseFunction · 0.85

Tested by

no test coverage detected