public static class Snappy.IQ80Snappy extends Object implements Snappy.SPI
| Constructor and Description |
|---|
IQ80Snappy() |
| Modifier and Type | Method and Description |
|---|---|
int |
compress(byte[] input,
int inputOffset,
int length,
byte[] output,
int outputOffset) |
byte[] |
compress(String text) |
int |
maxCompressedLength(int length) |
int |
uncompress(byte[] input,
int inputOffset,
int length,
byte[] output,
int outputOffset) |
int |
uncompress(ByteBuffer compressed,
ByteBuffer uncompressed) |
public int uncompress(ByteBuffer compressed, ByteBuffer uncompressed) throws IOException
uncompress in interface Snappy.SPIIOExceptionpublic int uncompress(byte[] input,
int inputOffset,
int length,
byte[] output,
int outputOffset)
throws IOException
uncompress in interface Snappy.SPIIOExceptionpublic int compress(byte[] input,
int inputOffset,
int length,
byte[] output,
int outputOffset)
throws IOException
compress in interface Snappy.SPIIOExceptionpublic byte[] compress(String text) throws IOException
compress in interface Snappy.SPIIOExceptionpublic int maxCompressedLength(int length)
maxCompressedLength in interface Snappy.SPICopyright © 2011–2019. All rights reserved.