https://github.com/ivan-guerra/huffman
Huffman data compression
https://github.com/ivan-guerra/huffman
compression data-structures huffman-coding
Last synced: 3 months ago
JSON representation
Huffman data compression
- Host: GitHub
- URL: https://github.com/ivan-guerra/huffman
- Owner: ivan-guerra
- License: unlicense
- Created: 2023-07-02T05:33:23.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-21T23:39:11.000Z (7 months ago)
- Last Synced: 2025-01-21T07:13:24.235Z (5 months ago)
- Topics: compression, data-structures, huffman-coding
- Language: Rust
- Homepage: https://programmador.com/posts/2023/huffman-coding/
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Huffman Coding
This project implements a command line utility that compresses and decompresses
any kind of file (text, image, audio, etc.) using the [Huffman Coding][1]
technique.### Program Usage
The `huffman` tool interprets two commands: `compress` and `decompress`.
The `compress` command takes two arguments where the first is the file to be
compressed and the second argument is the name of the output file:```bash
huffman compress foo.txt foo.huf
```The `decompress` command takes two arguments where the first argument is a file
previously compressed by the `huffman` utility and the second argument is the
name of the decompressed file:```bash
huffman decompress foo.huf foo.txt
```Run `huffman --help` for more information.
[1]: https://en.wikipedia.org/wiki/Huffman_coding