项目作者: jameshiew

项目描述 :
An example Huffman encoder and decoder written in Java.
高级语言: Java
项目地址: git://github.com/jameshiew/coursework-huffman-codec.git
创建时间: 2015-11-27T09:33:57Z
项目社区:https://github.com/jameshiew/coursework-huffman-codec

开源协议:

下载


huffman-codec

An example Huffman encoder and decoder written in Java.

The encoder can be used from the command line like:

  1. $ java -jar encoder.jar [path to file to be encoded] [1 <= number of bytes per block <= 4] [path to write out to] e.g.
  2. $ java -jar encoder.jar lorem.txt 1 lorem.hc

The decoder can be used similarly from the command line like:

  1. $ java -jar decoder.jar [path to encoded file] [path to write out to] e.g.
  2. $ java -jar decoder.jar lorem.hc decoded_lorem.txt

See report.pdf for a description of the implementation and more instructions.