/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 -- Process URIs
      • 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
 open_hash_stream(+OrgStream, -HashStream, +Options) is det
Open a filter stream on OrgStream that maintains a hash. The hash can be retrieved at any time using stream_hash/2. Provided options:
algorithm(+Algorithm)
One of md5, sha1, sha224, sha256, sha384 or sha512. Default is sha1.
close_parent(+Bool)
If true (default), closing the filter stream also closes the original (parent) stream.