Skip to content

A Huffman compression and decompression package built with rust.

Notifications You must be signed in to change notification settings

codesInML/Huffman-Compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman Compression

This package uses the Huffman Compression algorithm to compress the size of files. The compressed file can later be decompressed to get back the initial file. The compression generates a .huf file.

It accepts 3 compulsory arguments:

  • The mode which accepts 2 possible values C and D. (Compress and Decompress).
  • The path to the input file
  • The path to the output file

To compress a .txt file run

cargo run -- C test.txt compressed

To decompress the compressed file, simply run

cargo run -- D compressed.huf output

About

A Huffman compression and decompression package built with rust.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages