Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LZ78

A program designed to compress files using the LZ78 method.

Usage

To Compile:

javac *.java

To Encode:

cat file | java LZencode > output

To Encode and Pack:

cat file | java LZencode | java LZpack > output

To Decode:

cat file | java LZdecode > output

To Unpack and Decode:

cat file | java LZunpack | java LZdecode > output

Known Bugs

  • Unpacker won't produce output if all the programs are piped together.
  • A null char is used if there is no final mismatch char

Maybe I'll get round to fixing these one day...

Written in 2021, 15/15

About

LZ78 File Compressor

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages