Class BufferDecompressor


  • public class BufferDecompressor
    extends Object
    Decompressor for compressed Buffer.
    • Method Detail

      • decompressToIntermediateBuffer

        public Buffer decompressToIntermediateBuffer​(Buffer buffer)
        Decompresses the given Buffer using BlockDecompressor. The decompressed data will be stored in the intermediate buffer of this BufferDecompressor and returned to the caller. The caller must guarantee that the returned Buffer has been freed when calling the method next time.

        Notes that the decompression will always start from offset 0 to the size of the input Buffer.