Add 'r' raw command to unpack.
r dumps the raw format as seen in the file to stdout as readable text.
This commit is contained in:
parent
e0245db498
commit
8d59720195
3 changed files with 82 additions and 10 deletions
|
@ -1,3 +1,4 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
struct huffman_node {
|
||||
int weight;
|
||||
|
@ -9,4 +10,4 @@ struct huffman_node {
|
|||
struct huffman_node *huffman_build_tree(void **values, int count);
|
||||
|
||||
void *huffman_lookup (struct huffman_node *tree, unsigned char *bits,
|
||||
int *bits_read);
|
||||
int *bits_read, bool print);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue