public final class DirectDecompress extends Object
Decoder.decompress(byte[])| Modifier and Type | Method and Description |
|---|---|
static DirectDecompress |
decompress(byte[] compressedData)
Initiate direct decompression of data
|
byte[] |
getDecompressedData()
Get decompressed data.
|
io.netty.buffer.ByteBuf |
getDecompressedDataByteBuf()
Get decompressed data.
|
DecoderJNI.Status |
getResultStatus()
Get the result of decompression.
|
public static DirectDecompress decompress(byte[] compressedData) throws IOException
compressedData - Compressed data as Byte ArrayDirectDecompress InstanceIOException - In case of some error during decompressionpublic DecoderJNI.Status getResultStatus()
DecoderJNI.Statuspublic byte[] getDecompressedData()
byte array if decompression was successful else nullpublic io.netty.buffer.ByteBuf getDecompressedDataByteBuf()
ByteBuf if decompression was successful else nullCopyright © 2024. All rights reserved.