Package io.airlift.compress.lzo
Class LzoDecompressor
- java.lang.Object
-
- io.airlift.compress.lzo.LzoDecompressor
-
- All Implemented Interfaces:
Decompressor
public class LzoDecompressor extends Object implements Decompressor
-
-
Constructor Summary
Constructors Constructor Description LzoDecompressor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdecompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int maxOutputLength)voiddecompress(ByteBuffer inputBuffer, ByteBuffer outputBuffer)
-
-
-
Method Detail
-
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
public void decompress(ByteBuffer inputBuffer, ByteBuffer outputBuffer) throws MalformedInputException
- Specified by:
decompressin interfaceDecompressor- Throws:
MalformedInputException
-
-