public class LZ4Compressor extends java.lang.Object implements ICompressor
ICompressor.WrappedArray| Modifier and Type | Method and Description |
|---|---|
int |
compress(byte[] input,
int inputOffset,
int inputLength,
ICompressor.WrappedArray output,
int outputOffset) |
static LZ4Compressor |
create(java.util.Map<java.lang.String,java.lang.String> args) |
int |
initialCompressedBufferLength(int chunkLength) |
java.util.Set<java.lang.String> |
supportedOptions() |
int |
uncompress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset) |
public static LZ4Compressor create(java.util.Map<java.lang.String,java.lang.String> args)
public int initialCompressedBufferLength(int chunkLength)
initialCompressedBufferLength in interface ICompressorpublic int compress(byte[] input,
int inputOffset,
int inputLength,
ICompressor.WrappedArray output,
int outputOffset)
throws java.io.IOException
compress in interface ICompressorjava.io.IOExceptionpublic int uncompress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset)
throws java.io.IOException
uncompress in interface ICompressorjava.io.IOExceptionpublic java.util.Set<java.lang.String> supportedOptions()
supportedOptions in interface ICompressorCopyright © 2015 The Apache Software Foundation