Closeable
, AutoCloseable
, Releasable
, MetricAware
public class Crc32ChecksumCalculatingInputStream extends SdkFilterInputStream
Constructor | Description |
---|---|
Crc32ChecksumCalculatingInputStream(InputStream in) |
Modifier and Type | Method | Description |
---|---|---|
long |
getCrc32Checksum() |
|
int |
read() |
|
int |
read(byte[] b,
int off,
int len) |
|
void |
reset() |
Resets the wrapped input stream and the CRC32 computation.
|
read
readAllBytes, readNBytes, transferTo
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
release
available, close, isMetricActivated, mark, markSupported, release, skip
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.