| Constructor and Description |
|---|
PureJavaSnappy() |
| Modifier and Type | Method and Description |
|---|---|
void |
arrayCopy(java.lang.Object src,
int offset,
int byteLength,
java.lang.Object dest,
int dOffset) |
boolean |
isValidCompressedBuffer(java.nio.ByteBuffer compressed,
int offset,
int len) |
boolean |
isValidCompressedBuffer(long inputAddr,
long offset,
long len) |
boolean |
isValidCompressedBuffer(java.lang.Object input,
int offset,
int len) |
int |
maxCompressedLength(int source_bytes) |
int |
rawCompress(java.nio.ByteBuffer input,
int inputOffset,
int inputLength,
java.nio.ByteBuffer compressed,
int outputOffset) |
long |
rawCompress(long inputAddr,
long inputSize,
long destAddr) |
int |
rawCompress(java.lang.Object input,
int inputOffset,
int inputByteLength,
java.lang.Object output,
int outputOffset) |
int |
rawUncompress(java.nio.ByteBuffer compressed,
int inputOffset,
int inputLength,
java.nio.ByteBuffer uncompressed,
int outputOffset) |
long |
rawUncompress(long inputAddr,
long inputSize,
long destAddr) |
int |
rawUncompress(java.lang.Object input,
int inputOffset,
int inputLength,
java.lang.Object output,
int outputOffset) |
int |
uncompressedLength(java.nio.ByteBuffer compressed,
int offset,
int len) |
long |
uncompressedLength(long inputAddr,
long len) |
int |
uncompressedLength(java.lang.Object input,
int offset,
int len) |
public long rawCompress(long inputAddr,
long inputSize,
long destAddr)
throws java.io.IOException
rawCompress in interface SnappyApijava.io.IOExceptionpublic long rawUncompress(long inputAddr,
long inputSize,
long destAddr)
throws java.io.IOException
rawUncompress in interface SnappyApijava.io.IOExceptionpublic int rawCompress(java.nio.ByteBuffer input,
int inputOffset,
int inputLength,
java.nio.ByteBuffer compressed,
int outputOffset)
throws java.io.IOException
rawCompress in interface SnappyApijava.io.IOExceptionpublic int rawCompress(java.lang.Object input,
int inputOffset,
int inputByteLength,
java.lang.Object output,
int outputOffset)
throws java.io.IOException
rawCompress in interface SnappyApijava.io.IOExceptionpublic int rawUncompress(java.nio.ByteBuffer compressed,
int inputOffset,
int inputLength,
java.nio.ByteBuffer uncompressed,
int outputOffset)
throws java.io.IOException
rawUncompress in interface SnappyApijava.io.IOExceptionpublic int rawUncompress(java.lang.Object input,
int inputOffset,
int inputLength,
java.lang.Object output,
int outputOffset)
throws java.io.IOException
rawUncompress in interface SnappyApijava.io.IOExceptionpublic int maxCompressedLength(int source_bytes)
maxCompressedLength in interface SnappyApipublic int uncompressedLength(java.nio.ByteBuffer compressed,
int offset,
int len)
throws java.io.IOException
uncompressedLength in interface SnappyApijava.io.IOExceptionpublic int uncompressedLength(java.lang.Object input,
int offset,
int len)
throws java.io.IOException
uncompressedLength in interface SnappyApijava.io.IOExceptionpublic long uncompressedLength(long inputAddr,
long len)
throws java.io.IOException
uncompressedLength in interface SnappyApijava.io.IOExceptionpublic boolean isValidCompressedBuffer(java.nio.ByteBuffer compressed,
int offset,
int len)
throws java.io.IOException
isValidCompressedBuffer in interface SnappyApijava.io.IOExceptionpublic boolean isValidCompressedBuffer(java.lang.Object input,
int offset,
int len)
throws java.io.IOException
isValidCompressedBuffer in interface SnappyApijava.io.IOExceptionpublic boolean isValidCompressedBuffer(long inputAddr,
long offset,
long len)
throws java.io.IOException
isValidCompressedBuffer in interface SnappyApijava.io.IOException