public class MultiHashInputStream
extends java.io.FilterInputStream
Constructor and Description |
---|
MultiHashInputStream(java.io.InputStream proxy,
long generateHashes) |
Modifier and Type | Method and Description |
---|---|
long |
getReadBytes() |
HashResult[] |
getResults() |
int |
read()
Slow, you should buffer the stream to avoid this!
|
int |
read(byte[] buf) |
int |
read(byte[] buf,
int off,
int len) |
long |
skip(long length) |
public MultiHashInputStream(java.io.InputStream proxy, long generateHashes)
public int read(byte[] buf, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] buf) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public long skip(long length) throws java.io.IOException
skip
in class java.io.FilterInputStream
java.io.IOException
public HashResult[] getResults()
public long getReadBytes()