jonelo.jacksum.algorithm

Class Adler32


public class Adler32
extends AbstractChecksum

A class that can be used to compute the Adler32 of a data stream. This implementation uses the class java.util.zip.Adler32 from the Java Standard API.

Constructor Summary

Adler32()

Method Summary

byte[]
getByteArray()
long
getValue()
void
reset()
void
update(byte[] buffer, int offset, int len)
void
update(int b)

Constructor Details

Adler32

public Adler32()

Method Details

getByteArray

public byte[] getByteArray()

getValue

public long getValue()

reset

public void reset()

update

public void update(byte[] buffer,
                   int offset,
                   int len)

update

public void update(int b)