| 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 ChecksumChecksum.update(int)public void update(byte[] b,
int off,
int len)
update in interface ChecksumChecksum.update(int)public void update(byte[] b)
Checksum.update(int)public void reset()
reset in interface ChecksumChecksum.reset()public long getValue()
getValue in interface ChecksumChecksum.getValue()Copyright © 2001-2014 JRuby. All Rights Reserved.