Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A fork of the lz4c compression found here: https://code.google.com/p/lz4/
C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.svn
cmake
LZ4 Streaming Format.odt
Makefile
README
bench.c
bench.h
fullbench.c
fuzzer.c
lz4.c
lz4.h
lz4_encoder.h
lz4_format_description.txt
lz4c.c
lz4hc.c
lz4hc.h
lz4hc_encoder.h
xxhash.c
xxhash.h

README

LZ4 is a very fast lossless compression algorithm, providing compression speed at 300 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in GB/s per core, typically reaching RAM speed limits on multi-core systems.
A high compression derivative, called LZ4_HC, is also provided. It trades CPU time for compression ratio

The original project is found at: https://code.google.com/p/lz4/

Use make all to build all binaries
USAGE:
- - - - - - - - - - - - - - - - - - - - - - - - 
lz4c, lz4c32 or lz4cs
Usage :
      lz4c [arg] [input] [output]

input   : a filename, or 
          'stdin' or '-' for pipe mode (default if empty)
Arguments :
 -c0/-c : Fast compression (default) 
 -c1/-hc: High compression 
 -d     : decompression 
 -y     : overwrite without prompting 
 -h/-H  : Help (this text + advanced options)
 - - - - - - - - - - - - - - - - - - - - - - - - -
fuzzer
Select an Initialisation number (default : random) :
- - - - - - - - - - - - - - - - - - - - - - - - - -
END USAGE


BSD-3 license applies
Something went wrong with that request. Please try again.