commit | d27334f4d63d5ed27cf6b35c0f184e20a9bb5b9f | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Jul 01 21:44:36 2015 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jul 09 11:40:51 2015 +0800 |
tree | c326498d09712f74888877a5b0c78e2459acdb91 | |
parent | 069db08ac10d6c608dcbce0efad4d93f40ab911c [diff] [blame] |
util: Add constructor of Digest object from std::istream& Change-Id: Ie3fa6511da751fe3b7b39d7a18b4909a28376d02 Refs: #3022
diff --git a/src/util/digest.hpp b/src/util/digest.hpp index b0189a4..0fdb3a3 100644 --- a/src/util/digest.hpp +++ b/src/util/digest.hpp
@@ -64,6 +64,13 @@ Digest(); /** + * @brief Create digest of the input stream @p + * @param is input stream + */ + explicit + Digest(std::istream& is); + + /** * @brief Discard the current state and start a new digest. */ void