public class Lz4Compressor extends Object implements Compressor
| Constructor and Description |
|---|
Lz4Compressor() |
| Modifier and Type | Method and Description |
|---|---|
int |
compress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset,
int maxOutputLength) |
void |
compress(ByteBuffer inputBuffer,
ByteBuffer outputBuffer) |
int |
maxCompressedLength(int uncompressedSize) |
public int maxCompressedLength(int uncompressedSize)
maxCompressedLength in interface Compressorpublic int compress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset,
int maxOutputLength)
compress in interface Compressorpublic void compress(ByteBuffer inputBuffer, ByteBuffer outputBuffer)
compress in interface CompressorCopyright © 2011–2024. All rights reserved.