public class SnappyDecompressor extends NonBlockedDecompressor
| Constructor and Description |
|---|
SnappyDecompressor() |
| Modifier and Type | Method and Description |
|---|---|
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 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()..]IOExceptionprotected int maxUncompressedLength(ByteBuffer compressed, int maxUncompressedLength) throws IOException
NonBlockedDecompressormaxUncompressedLength in class NonBlockedDecompressorcompressed - input data [pos() ... limit())maxUncompressedLength - maximum length of the uncompressed dataIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.