| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Buffer | Returns: theBuffer that contains the decompressed data. The caller of this method takes
ownership of the buffer. The return value will be null if there is not enough data
readable in the input to make any progress. In this case the user should call it again once
there is more data ready to be consumed.the input, BufferAllocator Buffer that contains the data to be decompressed.the allocator)BufferAllocator that is used to allocate a new buffer (if needed) to write the
decompressed bytes too.This method will read from the input |
| public boolean | |
| public boolean | Returns: true if the decompressor is done with decompressing the stream.Returns |
| close | back to summary |
|---|---|
| public void close() Redeclares java. Close the decompressor. After this method was called
| |
| decompress | back to summary |
|---|---|
| public Buffer decompress(Buffer input, BufferAllocator allocator) throws DecompressionException This method will read from the input isFinished() is false
input
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Return
| |
| isFinished | back to summary |
|---|---|
| public boolean isFinished() Returns
| |