All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.lzo.Adler32

java.lang.Object
   |
   +----org.lzo.Adler32

public class Adler32
extends Object
A class that can be used to compute the Adler-32 checksum of a data stream. An Adler-32 checksum is almost as reliable as a CRC-32 but can be computed faster.

Note: as of JDK 1.1 you should use java.util.zip.Adler32 instead - it is fully equivalent and much faster than this pure Java implementation.

Author:
Markus F.X.J. Oberhumer
See Also:
Adler32, Checksum

Constructor Index

 o Adler32()

Method Index

 o getValue()
 o reset()
 o update(byte[])
 o update(byte[], int, int)
 o update(int)

Constructors

 o Adler32
 public Adler32()

Methods

 o reset
 public void reset()
 o getValue
 public long getValue()
 o update
 public void update(int b)
 o update
 public void update(byte b[],
                    int off,
                    int len)
 o update
 public void update(byte b[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index