public class CRC32ChecksumCalculatingInputStream extends SdkFilterInputStream
| Constructor and Description |
|---|
CRC32ChecksumCalculatingInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCRC32Checksum() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset()
Resets the wrapped input stream and the CRC32 computation.
|
abort, available, close, getDelegateStream, isMetricActivated, mark, markSupported, release, skipreadpublic CRC32ChecksumCalculatingInputStream(InputStream in)
public long getCRC32Checksum()
public void reset()
throws IOException
reset in class SdkFilterInputStreamIOExceptionInputStream.reset()public int read()
throws IOException
read in class SdkFilterInputStreamIOExceptionInputStream.read()public int read(byte[] b,
int off,
int len)
throws IOException
read in class SdkFilterInputStreamIOExceptionInputStream.read(byte[], int, int)