Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BUFFERSIZE
Default buffer size: 256
|
Constructor and Description |
---|
BufferedChecksum(Checksum in)
Create a new BufferedChecksum with
DEFAULT_BUFFERSIZE |
BufferedChecksum(Checksum in,
int bufferSize)
Create a new BufferedChecksum with the specified bufferSize
|
Modifier and Type | Method and Description |
---|---|
long |
getValue() |
void |
reset() |
void |
update(byte[] b,
int off,
int len) |
void |
update(int b) |
public static final int DEFAULT_BUFFERSIZE
public BufferedChecksum(Checksum in)
DEFAULT_BUFFERSIZE
public BufferedChecksum(Checksum in, int bufferSize)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.