public class HashFunctionChecksum extends Object implements co.paralleluniverse.common.io.Checksum
Constructor and Description |
---|
HashFunctionChecksum(HashFunction hf) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getChecksum() |
void |
reset() |
void |
update(byte b) |
void |
update(byte[] array) |
void |
update(ByteBuffer buffer) |
public HashFunctionChecksum(HashFunction hf)
public void reset()
reset
in interface co.paralleluniverse.common.io.Checksum
public void update(byte b)
update
in interface co.paralleluniverse.common.io.Checksum
public void update(byte[] array)
update
in interface co.paralleluniverse.common.io.Checksum
public void update(ByteBuffer buffer)
update
in interface co.paralleluniverse.common.io.Checksum
public byte[] getChecksum()
getChecksum
in interface co.paralleluniverse.common.io.Checksum