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