class Poco::DigestOutputStream
Overview
This ostream computes a digest of all the data passing through it, using a DigestEngine. Moreā¦
#include <DigestStream.h> class DigestOutputStream: public Poco::DigestIOS, public ostream { public: // construction DigestOutputStream(DigestEngine& eng); DigestOutputStream( DigestEngine& eng, std::ostream& ostr ); // methods void close(); };
Detailed Documentation
This ostream computes a digest of all the data passing through it, using a DigestEngine.
To ensure that all data has been incorporated into the digest, call close() or flush() before you obtain the digest from the digest engine.