public class SnappyCompressor extends Object implements Compressor
| Constructor and Description |
|---|
SnappyCompressor() |
| Modifier and Type | Method and Description |
|---|---|
int |
compress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset,
int maxOutputLength) |
void |
compress(ByteBuffer input,
ByteBuffer output) |
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 input, ByteBuffer output)
compress in interface CompressorCopyright © 2011–2019. All rights reserved.