public class CRC32ChecksumCalculatingInputStream extends SdkFilterInputStream
in
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, abortIfNeeded, available, close, isAborted, isMetricActivated, mark, markSupported, release, skip
read
public CRC32ChecksumCalculatingInputStream(InputStream in)
public long getCRC32Checksum()
public void reset() throws IOException
reset
in class SdkFilterInputStream
IOException
InputStream.reset()
public int read() throws IOException
read
in class SdkFilterInputStream
IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws IOException
read
in class SdkFilterInputStream
IOException
InputStream.read(byte[], int, int)
Copyright © 2018. All rights reserved.