Example usage for Java com.google.common.hash HashingInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
HashingInputStream(HashFunction hashFunction, InputStream in) Creates an input stream that hashes using the given HashFunction and delegates all data read from it to the underlying InputStream . |
void | close() Closes this input stream and releases any system resources associated with the stream. |
HashCode | hash() Returns the HashCode based on the data read from this stream. |