- reset
Resets compressor so that a new set of input data can be processed.
- finished
Returns true if the end of the compressed data output stream has been reached.
- setInput
Sets input data for compression. This should be called whenever #needsInput()
returnstrue indicating
- compress
Fills specified buffer with compressed data. Returns actual number of bytes of
compressed data. A re
- finish
When called, indicates that compression should end with the current contents of
the input buffer.
- needsInput
Returns true if the input data buffer is empty and #setInput() should be called
to provide more inpu
- reinit
Prepare the compressor to be used in a new stream with settings defined in the
given Configuration
- getBytesRead
Return number of uncompressed bytes input so far.
- end
Closes the compressor and discards any unprocessed input.
- getBytesWritten
Return number of compressed bytes output so far.