Package io.airlift.compress
Interface Decompressor
- All Known Implementing Classes:
Lz4Decompressor,LzoDecompressor,SnappyDecompressor,ZstdDecompressor
public interface Decompressor
-
Method Summary
Modifier and TypeMethodDescriptionintdecompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int maxOutputLength) voiddecompress(ByteBuffer input, ByteBuffer 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
- Throws:
MalformedInputException
-