summaryrefslogtreecommitdiff
path: root/filters.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-07-28 11:50:11 -0400
committerJeffrey Walton <noloader@gmail.com>2017-07-28 11:50:11 -0400
commit46993f10f4ab0ce6085fa8e03c62f929639e9704 (patch)
treeffc9c5e50524e61bee6a93528a6fcf6d62313f4e /filters.h
parentade3b319a92ab3a8c8efeba5bf95da9e87d0f86c (diff)
downloadcryptopp-git-46993f10f4ab0ce6085fa8e03c62f929639e9704.tar.gz
Update documentation
Diffstat (limited to 'filters.h')
-rw-r--r--filters.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/filters.h b/filters.h
index 52180608..2e56f122 100644
--- a/filters.h
+++ b/filters.h
@@ -1093,6 +1093,8 @@ private:
//! \class StringSink
//! \brief Append input to a string object
//! \details StringSink is a typedef for StringSinkTemplate<std::string>.
+//! \sa ArraySink, ArrayXorSink
+//! \since Crypto++ 4.0
DOCUMENTED_TYPEDEF(StringSinkTemplate<std::string>, StringSink);
CRYPTOPP_DLL_TEMPLATE_CLASS StringSinkTemplate<std::string>;
@@ -1122,6 +1124,11 @@ private:
//! \class ArraySink
//! \brief Copy input to a memory buffer
+//! \details ArraySink wraps a fixed size buffer. The buffer is full once Put returns non-0.
+//! When used in a pipleline, ArraySink silently discards input if the buffer is full.
+//! AvailableSize() can be used to determine how much space remains in the buffer.
+//! TotalPutLength() can be used to determine how many bytes were processed.
+//! \sa StringSink, ArrayXorSink
//! \since Crypto++ 4.0
class CRYPTOPP_DLL ArraySink : public Bufferless<Sink>
{
@@ -1160,6 +1167,11 @@ protected:
//! \class ArrayXorSink
//! \brief Xor input to a memory buffer
+//! \details ArrayXorSink wraps a fixed size buffer. The buffer is full once Put returns non-0.
+//! When used in a pipleline, ArrayXorSink silently discards input if the buffer is full.
+//! AvailableSize() can be used to determine how much space remains in the buffer.
+//! TotalPutLength() can be used to determine how many bytes were processed.
+//! \sa StringSink, ArraySink
//! \since Crypto++ 4.0
class CRYPTOPP_DLL ArrayXorSink : public ArraySink
{