public class Adler32Ext
extends java.lang.Object
implements java.util.zip.Checksum
Constructor and Description |
---|
Adler32Ext()
Creates the basic object with default initial adler.
|
Adler32Ext(int adler)
Creates the basic object with the adler provided.
|
public Adler32Ext()
public Adler32Ext(int adler)
adler
- the number to use as starting point for the Adler-32 algorithmpublic void setAdler(int adler)
adler
- the number to use as current value for the Adler-32 algorithmpublic void update(int b)
update
in interface java.util.zip.Checksum
Checksum.update(int)
public void update(byte[] b, int off, int len)
update
in interface java.util.zip.Checksum
Checksum.update(int)
public void update(byte[] b)
Checksum.update(int)
public void reset()
reset
in interface java.util.zip.Checksum
Checksum.reset()
public long getValue()
getValue
in interface java.util.zip.Checksum
Checksum.getValue()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.