Code examples for DigestInputStream

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
121:	DigestInputStream dis = new DigestInputStream(in, digester); 
122:	IOUtils.copyBytes(dis, new IOUtils.NullOutputStream(), 128*1024); 
Full Snippet Info
7
CodeRank
77:	dis = new DigestInputStream(inStream, digest); 
-
80:	dis.on(true); 
81:	c = dis.read(); 
Full Snippet Info
6
CodeRank
131:	DigestInputStream dis = new DigestInputStream(in, digester); 
132:	IOUtils.copyBytes(dis, new IOUtils.NullOutputStream(), 128*1024); 
Full Snippet Info
6
CodeRank
64:	ContentUtils.copy(new DigestInputStream(getClass().getClassLoader().getResourceAsStream(BIG_TEST_FILE), digest), destination); 
Full Snippet Info
6
CodeRank
190:	java.security.DigestInputStream dis = new java.security.DigestInputStream( 
-
192:	org.restlet.engine.io.IoUtils.exhaust(dis); 
Full Snippet Info
5
CodeRank
127:	checksums.add(digestInputStream.getMessageDigest().digest()); 
Full Snippet Info
5
CodeRank
71:	this.inputStream = digestHex == null ? inputStream : new DigestInputStream( inputStream, messageDigest ); 
Full Snippet Info
5
CodeRank
49:	DigestInputStream hashedIn = new DigestInputStream(System.in, hasher); 
-
55:	IOUtils.copyLarge(hashedIn, outFile, new byte[1024 * 1024]); 
Full Snippet Info
5
CodeRank
99:	DigestInputStream dig = new DigestInputStream( stream, md ); 
100:	IOUtils.copy( dig, new NullOutputStream() ); 
Full Snippet Info
5
CodeRank
71:	assertReadsFailWithNullPointerException(new DigestInputStream(null, md5)); 
Full Snippet Info
5
CodeRank
44:	super(new DigestInputStream(countingStream, messageDigest)); 
Full Snippet Info
4
CodeRank
41:	super(new DigestInputStream(in, digest)); 
Full Snippet Info
4
CodeRank
102:	InputStream dis = new DigestInputStream(null, null); 
Full Snippet Info
4
CodeRank
91:	return new DigestInputStream(fromStream, sha1); 
Full Snippet Info
3
CodeRank