Skip to content

Basic file compressor/decompressor using the Huffman algorithm.

Notifications You must be signed in to change notification settings

sc8ing/HuffPuff

Repository files navigation

Huff Puff

Basic file compressor/decompressor using the Huffman algorithm. Note the decompressor (Puff) is not in this repo.

Usage:

  1. Compile java files.
  2. Run java Huff [file to compress]. Outputs a file with the same prefix + a .zip suffix in the same directory as the input.
  3. Run java Puff [compressed/huffed file] to decompress. Will output in the same way as compression but as a .txt file.

Note: This code takes zero safety precautions and will simply overwrite anything named the same as the output.

About

Basic file compressor/decompressor using the Huffman algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages