Sets the current compression level to the specified value. When called, indicates that compression should end with the current contents of the input buffer. Fills specified buffer with compressed data. Returns actual number of bytes of compressed data. Returns actual number of bytes of compressed data.
Resets deflater so that a new set of input data can be processed.
Keeps current compression level and strategy settings. Closes the compressor and discards any unprocessed input. Once this method is called, the behavior of the Deflater object is undefined. Closes the compressor when garbage is collected.