Skip to content

Tag Archives: Java-util-zip package

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 getTotalOut() function of the Inflater class returns the total number of uncompressed bytes Output provided till now. Function Signature: public int getTotalOut() Syntax: i.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 inflate() function of the Inflater class is used to uncompress the input data and fill the given buffer with the uncompressed data. The function… Read More
The getBytesWritten() function of the Inflater class returns the total number of uncompressed bytes output provided till now. Function Signature: public long getBytesWritten() Syntax: i.getBytesWritten();… Read More
The setInput() function of the Inflater class is used to set input data for uncompression. This function should be called when needsInput() returns true indicating… 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 getAdler() function of the Inflater class returns the Adler-32 value of the uncompressed data. Adler-32 is a checksum algorithm which is widely used zlib… Read More
The getTotalIn() function of the Inflater class returns the total number of compressed bytes input provided till now. Function Signature: public int getTotalIn() Syntax: i.getTotalIn();… Read More
The finished() function of the Inflater class returns true if the end of compression data stream has been reached. Function Signature: public boolean finished() Syntax:… 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 needsInput() function of the Inflater class returns true if the input data buffer is empty else return false, if the input data buffer is… Read More