summaryrefslogtreecommitdiff
path: root/queue.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-09 20:11:03 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-09 20:11:03 -0400
commit649b3b10b598f23932e79d323f760dcb95681630 (patch)
treec7403f07a5874ba01900d3d07e5a13fafe5ee91e /queue.h
parent5a3a71c9a412e46efad30eb6af898fea5fcbf234 (diff)
downloadcryptopp-git-649b3b10b598f23932e79d323f760dcb95681630.tar.gz
Update SecBlock and ByteQueue documentation
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/queue.h b/queue.h
index e74244b5..0192a4b6 100644
--- a/queue.h
+++ b/queue.h
@@ -14,7 +14,11 @@ NAMESPACE_BEGIN(CryptoPP)
class ByteQueueNode;
/// \brief Data structure used to store byte strings
-/// \details The queue is implemented as a linked list of byte arrays
+/// \details The queue is implemented as a linked list of byte arrays.
+/// Each byte array is stored in a ByteQueueNode.
+/// \sa <A HREF="https://www.cryptopp.com/wiki/ByteQueue">ByteQueue</A>
+/// on the Crypto++ wiki.
+/// \since Crypto++ 2.0
class CRYPTOPP_DLL ByteQueue : public Bufferless<BufferedTransformation>
{
public:
@@ -141,8 +145,8 @@ public:
/// \brief Bitwise compare two ByteQueue
/// \param rhs the other ByteQueue
/// \return true if the size and bits are not equal, false otherwise
- /// \details operator==() walks each ByteQueue comparing bytes in
- /// each queue. operator==() is not constant time.
+ /// \details operator!=() is implemented in terms of operator==().
+ /// operator==() is not constant time.
bool operator!=(const ByteQueue &rhs) const {return !operator==(rhs);}
/// \brief Retrieve data from the queue