Inflater getAdler() function in Java with examples
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 compression library.
public int getAdler()
Parameter: The function requires no parameter
Return Type: The function returns Integer value which is the Adler-32 value of the uncompressed data.
Exception: The function does not throw any exception
Example 1: use of getAdler() function
Attention reader! Don’t stop learning now. Get hold of all the important Java Foundation and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.