hash

common
val hash: ByteString

Returns the hash of the bytes accepted thus far and resets the internal state of this sink.

Warning: This method is not idempotent. Each time this method is called its internal state is cleared. This starts a new hash with zero bytes accepted.