|
|||||||||
| 前 次 | フレームあり フレームなし | ||||||||
| org.xerial.snappy での SnappyException の使用 |
|---|
| SnappyException をスローする org.xerial.snappy のメソッド | |
|---|---|
static byte[] |
Snappy.compress(byte[] input)
High-level API for compressing the input byte array. |
static int |
Snappy.compress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset)
Compress the input buffer content in [inputOffset, ...inputOffset+inputLength) then output to the specified output buffer. |
static int |
Snappy.compress(ByteBuffer uncompressed,
ByteBuffer compressed)
Compress the content in the given input buffer. |
static boolean |
SnappyNative.isValidCompressedBuffer(byte[] input,
int offset,
int len)
|
static boolean |
Snappy.isValidCompressedBuffer(byte[] input,
int offset,
int length)
Returns true iff the contents of compressed buffer [offset, offset+length) can be uncompressed successfully. |
static boolean |
Snappy.isValidCompressedBuffer(ByteBuffer compressed)
Returns true iff the contents of compressed buffer [pos() ... limit()) can be uncompressed successfully. |
static boolean |
SnappyNative.isValidCompressedBuffer(ByteBuffer compressed,
int offset,
int len)
|
static int |
SnappyNative.rawCompress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset)
|
static int |
SnappyNative.rawCompress(ByteBuffer input,
int inputOffset,
int inputLength,
ByteBuffer compressed,
int outputOffset)
|
static int |
SnappyNative.rawUncompress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset)
|
static int |
SnappyNative.rawUncompress(ByteBuffer compressed,
int inputOffset,
int inputLength,
ByteBuffer uncompressed,
int outputOffset)
|
static void |
SnappyNative.throw_error(int errorCode)
|
static byte[] |
Snappy.uncompress(byte[] input)
High-level API for uncompressing the input byte array. |
static int |
Snappy.uncompress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset)
Uncompress the content in the input buffer. |
static int |
Snappy.uncompress(ByteBuffer compressed,
ByteBuffer uncompressed)
Uncompress the content in the input buffer. |
static int |
SnappyNative.uncompressedLength(byte[] input,
int offset,
int len)
|
static int |
Snappy.uncompressedLength(byte[] input,
int offset,
int length)
Get the uncompressed byte size of the given compressed input. |
static int |
Snappy.uncompressedLength(ByteBuffer compressed)
Get the uncompressed byte size of the given compressed input. |
static int |
SnappyNative.uncompressedLength(ByteBuffer compressed,
int offset,
int len)
|
|
|||||||||
| 前 次 | フレームあり フレームなし | ||||||||