private static final class CompressionMode.LZ4FastCompressor extends Compressor
Modifier and Type | Field and Description |
---|---|
private LZ4.HashTable |
ht |
Constructor and Description |
---|
LZ4FastCompressor() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
compress(byte[] bytes,
int off,
int len,
DataOutput out)
Compress bytes into
out . |
private final LZ4.HashTable ht
public void compress(byte[] bytes, int off, int len, DataOutput out) throws java.io.IOException
Compressor
out
. It is the responsibility of the
compressor to add all necessary information so that a Decompressor
will know when to stop decompressing bytes from the stream.compress
in class Compressor
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException