Skip to content

Tag Archives: Java-Deflater

The getAdler() function of the Deflater class in java.util.zip returns the Adler-32 value of the uncompressed data. Adler-32 is a checksum algorithm which is widely… Read More
The getTotalOut() function of the Deflater class in java.util.zip returns the total number of compressed bytes Output provided till now. Function Signature: public int getTotalOut()… Read More
The getBytesRead() function of the Deflater class in java.util.zip returns the total number of uncompressed bytes input provided till now. Function Signature: public long getBytesRead()… Read More
The deflate() function of the Deflater class in java.util.zip is used to compress the input data and fill the given buffer with the compressed data.… Read More
The setLevel() function of the Deflater class in java.util.zip sets the current compression level to the specified value. The compression level is an integer value… Read More
The setInput() function of the Deflater class in java.util.zip is used to set input data for compression. This function should be called when needsInput() returns… Read More
The getBytesWritten() function of the Deflater class in java.util.zip returns the total number of compressed bytes output provided till now. Function Signature: public long getBytesWritten()… Read More
The getTotalIn() function of the Deflater class in java.util.zip returns the total number of uncompressed bytes input provided till now. Function Signature: public int getTotalIn()… Read More
The finished() function of the Deflater class in java.util.zip returns true if the end of compression data output stream has been reached. Function Signature: public… Read More
The needsInput() function of the Deflater class in java.util.zip is used to check if the input data buffer is empty. If the input data buffer… Read More