Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1.07 KB

readme.md

File metadata and controls

26 lines (14 loc) · 1.07 KB

LZ4 Native Bindings for Java

Based on jpountz/lz4-java with an inital port of the frames interface by jpountz/lz4-java. This has been extended to support checksums and to conform more closely with the canonical frameCompress.c example.

LZ4 sources have been updated to the latest 1.7.5, and all data read or written by the Java bindings is interoperable with the LZ4 cli and C library.

There are only JNI bindings and it is only targeting Linux. If you need Java only implementations or other compile targets, look at the original projects.

As much code as possible has been deleted, and while the library remains pure Java/JNI/C, the packaging and testing is now Clojure based for simplicity.

test

bash test.sh

build

lein jar lein pom

deployment

Stick the jar and pom somewhere.

usage

It's very straight forward, see the test.