Package io.airlift.compress.v3
Interface Decompressor
- All Known Subinterfaces:
Lz4Decompressor,SnappyDecompressor,ZstdDecompressor
- All Known Implementing Classes:
DeflateDecompressor,Lz4JavaDecompressor,Lz4NativeDecompressor,LzoDecompressor,SnappyJavaDecompressor,SnappyNativeDecompressor,ZstdJavaDecompressor,ZstdNativeDecompressor
public interface Decompressor
-
Method Summary
Modifier and TypeMethodDescriptionintdecompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int maxOutputLength) intdecompress(MemorySegment input, MemorySegment output)
-
Method Details
-
decompress
int decompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int maxOutputLength) throws MalformedInputException - Returns:
- number of bytes written to the output
- Throws:
MalformedInputException
-
decompress
- Returns:
- number of bytes written to the output
- Throws:
MalformedInputException
-