Example usage for Java com.google.common.hash HashingOutputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
HashingOutputStream(HashFunction hashFunction, OutputStream out) Creates an output stream that hashes using the given HashFunction , and forwards all data written to it to the underlying OutputStream . |
void | close() |
HashCode | hash() Returns the HashCode based on the data written to this stream. |
void | write(int b) |