public static interface LZ77Compressor.Callback
The callback is invoked on the same thread that receives the
bytes to compress and may be invoked multiple times during the
execution of LZ77Compressor.compress()
or LZ77Compressor.finish()
.
Modifier and Type | Method and Description |
---|---|
void |
accept(LZ77Compressor.Block b)
Consumes a block.
|
void accept(LZ77Compressor.Block b) throws IOException
b
- the block to consumeIOException
- in case of an errorCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.