Compresses the given input and returns compressed data.
Compresses the given input and returns compressed data. The implementation
can and will choose to buffer output data to improve compression. Use
flush
or compressAndFlush
to make sure that all input data has been
compressed and pending output data has been returned.
Combines compress
+ finish
Combines compress
+ finish
Combines compress
+ flush
Combines compress
+ flush
Closes this compressed stream and return the remaining compressed data.
Closes this compressed stream and return the remaining compressed data. After calling this method, this Compressor cannot be used any further.
Flushes any output data and returns the currently remaining compressed data.
Flushes any output data and returns the currently remaining compressed data.