public class Lz4RawDecompressor extends NonBlockedDecompressor implements org.apache.hadoop.io.compress.DirectDecompressor
| Constructor and Description |
|---|
Lz4RawDecompressor() |
| Modifier and Type | Method and Description |
|---|---|
void |
decompress(ByteBuffer compressed,
ByteBuffer uncompressed) |
protected int |
maxUncompressedLength(ByteBuffer compressed,
int maxUncompressedLength)
Get the maximum uncompressed byte size of the given compressed input.
|
protected int |
uncompress(ByteBuffer compressed,
ByteBuffer uncompressed)
Uncompress the content in the input buffer.
|
decompress, end, finished, getRemaining, needsDictionary, needsInput, reset, setDictionary, setInputprotected int maxUncompressedLength(ByteBuffer compressed, int maxUncompressedLength) throws IOException
NonBlockedDecompressormaxUncompressedLength in class NonBlockedDecompressorcompressed - input data [pos() ... limit())maxUncompressedLength - maximum length of the uncompressed dataIOExceptionprotected int uncompress(ByteBuffer compressed, ByteBuffer uncompressed) throws IOException
NonBlockedDecompressoruncompress in class NonBlockedDecompressorcompressed - buffer[pos() ... limit()) containing the input datauncompressed - output of the the uncompressed data. It uses buffer[pos()..]IOExceptionpublic void decompress(ByteBuffer compressed, ByteBuffer uncompressed) throws IOException
decompress in interface org.apache.hadoop.io.compress.DirectDecompressorIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.