public static interface Snappy.SPI
| 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) |
int uncompress(ByteBuffer compressed, ByteBuffer uncompressed) throws IOException
IOExceptionint uncompress(byte[] input,
int inputOffset,
int length,
byte[] output,
int outputOffset)
throws IOException
IOExceptionint compress(byte[] input,
int inputOffset,
int length,
byte[] output,
int outputOffset)
throws IOException
IOExceptionbyte[] compress(String text) throws IOException
IOExceptionint maxCompressedLength(int length)
Copyright © 2011–2019. All rights reserved.