/usr/local/lib/swipl/library/ext/clib/hash_stream.pl
All Application Manual Name SummaryHelp

  • ext
    • clib
      • socket.pl
      • uid.pl
      • unix.pl
      • syslog.pl
      • memfile.pl
      • time.pl -- Time and alarm library
      • uri.pl
      • filesex.pl
      • uuid.pl
      • sha.pl
      • process.pl
      • hash_stream.pl -- Maintain a hash on a stream
        • open_hash_stream/3
        • stream_hash/2
      • md5.pl -- MD5 hashes
      • mallocinfo.pl
      • streampool.pl
      • udp_broadcast.pl
      • crypt.pl
 stream_hash(+HashStream, -Digest:atom) is det
Unify Digest with a hash for the bytes send to or read from HashStream. Note that the hash is computed on the stream buffers. If the stream is an output stream, it is first flushed and the Digest represents the hash at the current location. If the stream is an input stream the Digest represents the hash of the processed input including the already buffered data.