Package io.airlift.compress.v3.lz4
Class Lz4JavaDecompressor
java.lang.Object
io.airlift.compress.v3.lz4.Lz4JavaDecompressor
- All Implemented Interfaces:
Decompressor,Lz4Decompressor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdecompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int maxOutputLength) intdecompress(MemorySegment input, MemorySegment output)
-
Constructor Details
-
Lz4JavaDecompressor
public Lz4JavaDecompressor()
-
-
Method Details
-
decompress
public int decompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int maxOutputLength) throws MalformedInputException - Specified by:
decompressin interfaceDecompressor- Returns:
- number of bytes written to the output
- Throws:
MalformedInputException
-
decompress
- Specified by:
decompressin interfaceDecompressor- Specified by:
decompressin interfaceLz4Decompressor- Returns:
- number of bytes written to the output
-