java.lang.Object
net.jpountz.lz4.LZ4FastDecompressor
org.elasticsearch.lz4.ESLZ4Decompressor
- All Implemented Interfaces:
net.jpountz.lz4.LZ4Decompressor
public class ESLZ4Decompressor
extends net.jpountz.lz4.LZ4FastDecompressor
This file is forked from https://github.com/lz4/lz4-java. In particular, it forks the following file
net.jpountz.lz4.LZ4JavaSafeFastDecompressor.
It modifies the original implementation to use custom LZ4SafeUtils and SafeUtils implementations which
include performance improvements.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintdecompress(byte[] src, int srcOff, byte[] dest, int destOff, int destLen) intdecompress(ByteBuffer src, int srcOff, ByteBuffer dest, int destOff, int destLen) Methods inherited from class net.jpountz.lz4.LZ4FastDecompressor
decompress, decompress, decompress, decompress, decompress, toString
-
Field Details
-
INSTANCE
public static final net.jpountz.lz4.LZ4FastDecompressor INSTANCE
-
-
Method Details
-
decompress
public int decompress(byte[] src, int srcOff, byte[] dest, int destOff, int destLen) - Specified by:
decompressin interfacenet.jpountz.lz4.LZ4Decompressor- Specified by:
decompressin classnet.jpountz.lz4.LZ4FastDecompressor
-
decompress
- Specified by:
decompressin classnet.jpountz.lz4.LZ4FastDecompressor
-