- <init>
Constructs a new Deflater instance with the given compression level. If noHeader
is true, no ZLIB he
- deflate
Deflates data (previously passed to #setInput) into a specific region within the
supplied buffer, op
- setInput
Sets the input buffer the Deflater will use to extract uncompressed bytes for
later compression.
- finish
Indicates to the Deflater that all uncompressed input has been provided to it.
- end
- finished
Returns true if #finish has been called and all data provided by #setInput has
been successfully com
- reset
- setLevel
Sets the given compression level to be used when compressing data. This value
must be set prior to c
- needsInput
Returns true if #setInput must be called before deflation can continue. If all
uncompressed data has
- getTotalIn
Returns the total number of bytes of input read by this Deflater. This method is
limited to 32 bits;
- setDictionary
Sets the dictionary to be used for compression by this Deflater. This method can
only be called if t
- setStrategy
Sets the compression strategy to be used. The strategy must be one of FILTERED,
HUFFMAN_ONLY or DEFA