public class MD5InputStream extends FilterInputStream
in
Constructor and Description |
---|
MD5InputStream(InputStream in)
An InputStream that measures the number of bytes that pass through.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getChecksum() |
int |
read() |
int |
read(byte[] inBytes,
int inOffset,
int inLength) |
void |
reset() |
available, close, mark, markSupported, read, skip
public MD5InputStream(InputStream in)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] inBytes, int inOffset, int inLength) throws IOException
read
in class FilterInputStream
IOException
public void reset()
reset
in class FilterInputStream
public byte[] getChecksum()
jataylor@hairyfatguy.com