public interface SnappyNativeAPI
Snappy API instead.| Modifier and Type | Method and Description |
|---|---|
void |
arrayCopy(Object src,
int offset,
int byteLength,
Object dest,
int dOffset) |
boolean |
isValidCompressedBuffer(ByteBuffer compressed,
int offset,
int len) |
boolean |
isValidCompressedBuffer(Object input,
int offset,
int len) |
int |
maxCompressedLength(int source_bytes) |
String |
nativeLibraryVersion() |
int |
rawCompress(ByteBuffer input,
int inputOffset,
int inputLength,
ByteBuffer compressed,
int outputOffset) |
long |
rawCompress(long inputAddr,
long inputSize,
long destAddr) |
int |
rawCompress(Object input,
int inputOffset,
int inputByteLength,
Object output,
int outputOffset) |
int |
rawUncompress(ByteBuffer compressed,
int inputOffset,
int inputLength,
ByteBuffer uncompressed,
int outputOffset) |
long |
rawUncompress(long inputAddr,
long inputSize,
long destAddr) |
int |
rawUncompress(Object input,
int inputOffset,
int inputLength,
Object output,
int outputOffset) |
void |
throw_error(int errorCode) |
int |
uncompressedLength(ByteBuffer compressed,
int offset,
int len) |
long |
uncompressedLength(long inputAddr,
long len) |
int |
uncompressedLength(Object input,
int offset,
int len) |
String nativeLibraryVersion()
long rawCompress(long inputAddr,
long inputSize,
long destAddr)
throws IOException
IOExceptionlong rawUncompress(long inputAddr,
long inputSize,
long destAddr)
throws IOException
IOExceptionint rawCompress(ByteBuffer input, int inputOffset, int inputLength, ByteBuffer compressed, int outputOffset) throws IOException
IOExceptionint rawCompress(Object input, int inputOffset, int inputByteLength, Object output, int outputOffset) throws IOException
IOExceptionint rawUncompress(ByteBuffer compressed, int inputOffset, int inputLength, ByteBuffer uncompressed, int outputOffset) throws IOException
IOExceptionint rawUncompress(Object input, int inputOffset, int inputLength, Object output, int outputOffset) throws IOException
IOExceptionint maxCompressedLength(int source_bytes)
int uncompressedLength(ByteBuffer compressed, int offset, int len) throws IOException
IOExceptionint uncompressedLength(Object input, int offset, int len) throws IOException
IOExceptionlong uncompressedLength(long inputAddr,
long len)
throws IOException
IOExceptionboolean isValidCompressedBuffer(ByteBuffer compressed, int offset, int len) throws IOException
IOExceptionboolean isValidCompressedBuffer(Object input, int offset, int len) throws IOException
IOExceptionvoid arrayCopy(Object src, int offset, int byteLength, Object dest, int dOffset) throws IOException
IOExceptionvoid throw_error(int errorCode)
throws IOException
IOExceptionCopyright © 2011-2013 xerial.org. All Rights Reserved.