lz4-java-wrc
This is a fork of lz4jb
that accepts the writer as a pointer instead of consuming it.
A streaming compression/decompression library which implements the LZ4BlockOutputStream
format from lz4-java.
Beware: this format is not compatible with the standard LZ4 Block format. The Minecraft 1.20.5 lz4 chunk compression format is an example of a place this is used.
This repository contains:
lz4_java_wrc
: a library which implements theRead
andWrite
traits,
Usage
Add this to your Cargo.toml:
[]
= "0.2.0"
Compression
Lz4BlockOutput
is a wrapper around a type which implements the Write
trait.
use Lz4BlockOutput;
use Write;
Decompression
Lz4BlockInput
is a wrapper around a type which implements the Read
trait.
use Lz4BlockInput;
use Read;
const D: = ;
License
See the LICENCE file.