Deprecated
as a consequence of LZ4SafeDecompressor being deprecated. See corresponding docs for further information.
LZ4SafeDecompressor implemented with JNI bindings to the original C
implementation of LZ4.
| Modifier and Type | Field and Description |
|---|---|
| public static final LZ4JNISafeDecompressor | INSTANCE
Deprecated
as a consequence of
LZ4JNISafeDecompressor being deprecated.
|
| private static LZ4SafeDecompressor | SAFE_INSTANCE
Deprecated
as a consequence of
LZ4SafeDecompressor being deprecated.
|
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final int | decompress(byte[] src, int srcOff, int
the exact size of the compressed stream srcLen, byte[] dest, int destOff, int maxDestLen)Implements abstract net. Implements net. src[srcOff:srcLen] into
dest[destOff:destOff+maxDestLen] and returns the number of
decompressed bytes written into dest.
|
| public int | decompress(ByteBuffer src, int srcOff, int
the exact size of the compressed stream srcLen, ByteBuffer dest, int destOff, int maxDestLen)Implements abstract net. src[srcOff:srcLen] into
dest[destOff:destOff+maxDestLen] and returns the number of
decompressed bytes written into dest.
|
| INSTANCE | back to summary |
|---|---|
| public static final LZ4JNISafeDecompressor INSTANCE
Deprecated as a consequence of | |
| SAFE_INSTANCE | back to summary |
|---|---|
| private static LZ4SafeDecompressor SAFE_INSTANCE
Deprecated as a consequence of | |
| LZ4JNISafeDecompressor | back to summary |
|---|---|
| pack-priv LZ4JNISafeDecompressor() | |
| decompress | back to summary |
|---|---|
| public final int decompress(byte[] src, int srcOff, int srcLen, byte[] dest, int destOff, int maxDestLen) Implements abstract net. Implements net. Doc from net. Decompress
| |
| decompress | back to summary |
|---|---|
| public int decompress(ByteBuffer src, int srcOff, int srcLen, ByteBuffer dest, int destOff, int maxDestLen) Implements abstract net. Doc from net. Uncompress
| |