niklasf / rust-huffman-compress

A Rust library for Huffman compression given a propability distribution over arbitrary symbols
https://docs.rs/huffman-compress
Apache License 2.0
25 stars 9 forks source link

Creating book/tree from existing Huffman code #5

Open raui100 opened 2 years ago

raui100 commented 2 years ago

Hello Niklas,

I'd love to have to a method to create a book/tree from an existing Huffman code. This is useful for decoding files, where the Huffman table is saved in the file. Are you open for such a function in your code and/or can you implement it?

Cheers, Raui

niklasf commented 2 years ago

Hi Raui, I am not actively developing this project, but I am open to accepting contributions.