MCPcopy Create free account
hub / github.com/LUX-Core/lux / Clear

Method Clear

src/cryptopp/queue.cpp:206–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void ByteQueue::Clear()
207{
208 for (ByteQueueNode *next, *current=m_head->next; current; current=next)
209 {
210 next=current->next;
211 delete current;
212 }
213
214 m_tail = m_head;
215 m_head->Clear();
216 m_head->next = NULL;
217 m_lazyLength = 0;
218}
219
220size_t ByteQueue::Put2(const byte *inString, size_t length, int messageEnd, bool blocking)
221{

Callers 1

CleanupUsedNodesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected