summaryrefslogtreecommitdiff
path: root/filters.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-11-12 08:45:13 -0500
committerJeffrey Walton <noloader@gmail.com>2016-11-12 08:45:13 -0500
commit10c96e5a954201ec58e6dd442629992bd02d6d9c (patch)
tree0f11f0a902647c032c4ea31b28ad4de570c1e191 /filters.h
parent2a8670c0c18a8b7d049967a45e2a4cbbfd84d085 (diff)
downloadcryptopp-git-10c96e5a954201ec58e6dd442629992bd02d6d9c.tar.gz
Updated documentation
Diffstat (limited to 'filters.h')
-rw-r--r--filters.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/filters.h b/filters.h
index 5c8657e7..87355152 100644
--- a/filters.h
+++ b/filters.h
@@ -1327,14 +1327,23 @@ public:
//! \brief Construct a StringSource
//! \param string C-String
- //! \param pumpAll C-String
+ //! \param pumpAll flag indicating if source data should be pumped to its attached transformation
//! \param attachment an optional attached transformation
StringSource(const char *string, bool pumpAll, BufferedTransformation *attachment = NULL)
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
- //! binary byte array as source
+
+ //! \brief Construct a StringSource
+ //! \param string binary byte array
+ //! \param length size of the byte array
+ //! \param pumpAll flag indicating if source data should be pumped to its attached transformation
+ //! \param attachment an optional attached transformation
StringSource(const byte *string, size_t length, bool pumpAll, BufferedTransformation *attachment = NULL)
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string, length)));}
- //! std::string as source
+
+ //! \brief Construct a StringSource
+ //! \param string std::string
+ //! \param pumpAll flag indicating if source data should be pumped to its attached transformation
+ //! \param attachment an optional attached transformation
StringSource(const std::string &string, bool pumpAll, BufferedTransformation *attachment = NULL)
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
};