Closeable, AutoCloseable, Releasable, MetricAwarepublic 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.
|
readreadAllBytes, readNBytes, transferToequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreleaseavailable, close, isMetricActivated, mark, markSupported, release, skippublic 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)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.