public class CRC32VerifyingInputStream extends ChecksumVerifyingInputStream
| Constructor and Description |
|---|
CRC32VerifyingInputStream(InputStream in,
long size,
int expectedCrc32) |
CRC32VerifyingInputStream(InputStream in,
long size,
long expectedCrc32) |
close, getBytesRemaining, read, read, read, skipavailable, mark, markSupported, resetpublic CRC32VerifyingInputStream(InputStream in, long size, int expectedCrc32)
in - the stream to wrapsize - the of the stream's contentexpectedCrc32 - the expected checksumpublic CRC32VerifyingInputStream(InputStream in, long size, long expectedCrc32)
in - the stream to wrapsize - the of the stream's contentexpectedCrc32 - the expected checksumCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.