diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-09 20:11:03 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-04-09 20:11:03 -0400 |
commit | 649b3b10b598f23932e79d323f760dcb95681630 (patch) | |
tree | c7403f07a5874ba01900d3d07e5a13fafe5ee91e /queue.h | |
parent | 5a3a71c9a412e46efad30eb6af898fea5fcbf234 (diff) | |
download | cryptopp-git-649b3b10b598f23932e79d323f760dcb95681630.tar.gz |
Update SecBlock and ByteQueue documentation
Diffstat (limited to 'queue.h')
-rw-r--r-- | queue.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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
|