public interface SnappyApi
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(long inputAddr,
long offset,
long len) |
boolean |
isValidCompressedBuffer(Object input,
int offset,
int len) |
int |
maxCompressedLength(int source_bytes) |
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) |
int |
uncompressedLength(ByteBuffer compressed,
int offset,
int len) |
long |
uncompressedLength(long inputAddr,
long len) |
int |
uncompressedLength(Object input,
int offset,
int len) |
long rawCompress(long inputAddr, long inputSize, long destAddr) throws IOException
IOException
long rawUncompress(long inputAddr, long inputSize, long destAddr) throws IOException
IOException
int rawCompress(ByteBuffer input, int inputOffset, int inputLength, ByteBuffer compressed, int outputOffset) throws IOException
IOException
int rawCompress(Object input, int inputOffset, int inputByteLength, Object output, int outputOffset) throws IOException
IOException
int rawUncompress(ByteBuffer compressed, int inputOffset, int inputLength, ByteBuffer uncompressed, int outputOffset) throws IOException
IOException
int rawUncompress(Object input, int inputOffset, int inputLength, Object output, int outputOffset) throws IOException
IOException
int maxCompressedLength(int source_bytes)
int uncompressedLength(ByteBuffer compressed, int offset, int len) throws IOException
IOException
int uncompressedLength(Object input, int offset, int len) throws IOException
IOException
long uncompressedLength(long inputAddr, long len) throws IOException
IOException
boolean isValidCompressedBuffer(ByteBuffer compressed, int offset, int len) throws IOException
IOException
boolean isValidCompressedBuffer(Object input, int offset, int len) throws IOException
IOException
boolean isValidCompressedBuffer(long inputAddr, long offset, long len) throws IOException
IOException
void arrayCopy(Object src, int offset, int byteLength, Object dest, int dOffset) throws IOException
IOException
Copyright © 2024 xerial.org. All rights reserved.