Deprecated
as a consequence of LZ4Decompressor being deprecated. See corresponding docs for further information.
LZ4SafeDecompressor if you only know the size of the
compressed stream.
Instances of this class are thread-safe.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract int | Returns: the number of bytes read to restore the original inputthe exact size of the original input destLen)Redeclares net. src[srcOff:] into dest[destOff:destOff+destLen]
and return the number of bytes read from src.
|
| public abstract int | Returns: the number of bytes read to restore the original inputthe exact size of the original input destLen)Decompress |
| public final int | decompress(byte[] src, byte[] dest, int destLen)
Convenience method, equivalent to calling
|
| public final int | decompress(byte[] src, byte[] dest)
Convenience method, equivalent to calling
|
| public final byte[] | decompress(byte[] src, int srcOff, int destLen)
Convenience method which returns |
| public final byte[] | decompress(byte[] src, int destLen)
Convenience method, equivalent to calling
|
| public final void | |
| public String |
| LZ4FastDecompressor | back to summary |
|---|---|
| public LZ4FastDecompressor() | |
| decompress | back to summary |
|---|---|
| public abstract int decompress(byte[] src, int srcOff, byte[] dest, int destOff, int destLen) Redeclares net. Decompress
| |
| decompress | back to summary |
|---|---|
| public abstract int decompress(ByteBuffer src, int srcOff, ByteBuffer dest, int destOff, int destLen) Decompress
| |
| decompress | back to summary |
|---|---|
| public final int decompress(byte[] src, byte[] dest, int destLen) Convenience method, equivalent to calling
| |
| decompress | back to summary |
|---|---|
| public final int decompress(byte[] src, byte[] dest) Convenience method, equivalent to calling
| |
| decompress | back to summary |
|---|---|
| public final byte[] decompress(byte[] src, int srcOff, int destLen) Convenience method which returns Warning: this method has an important overhead due to the fact that it needs to allocate a buffer to decompress into. Here is how this method is implemented: final byte[] decompressed = new byte[destLen]; decompress(src, srcOff, decompressed, 0, destLen); return decompressed; | |
| decompress | back to summary |
|---|---|
| public final byte[] decompress(byte[] src, int destLen) Convenience method, equivalent to calling
| |
| decompress | back to summary |
|---|---|
| public final void decompress(ByteBuffer src, ByteBuffer dest) Decompress | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |