Class CRC32VerifyingInputStream

    • Constructor Detail

      • CRC32VerifyingInputStream

        public CRC32VerifyingInputStream​(InputStream in,
                                         long size,
                                         int expectedCrc32)
        Parameters:
        in - the stream to wrap
        size - the of the stream's content
        expectedCrc32 - the expected checksum
      • CRC32VerifyingInputStream

        public CRC32VerifyingInputStream​(InputStream in,
                                         long size,
                                         long expectedCrc32)
        Parameters:
        in - the stream to wrap
        size - the of the stream's content
        expectedCrc32 - the expected checksum
        Since:
        1.7