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

Method TransferTo2

src/cryptopp/mqueue.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24size_t MessageQueue::TransferTo2(BufferedTransformation &target, lword &transferBytes, const std::string &channel, bool blocking)
25{
26 transferBytes = STDMIN(MaxRetrievable(), transferBytes);
27 size_t blockedBytes = m_queue.TransferTo2(target, transferBytes, channel, blocking);
28 m_lengths.front() -= transferBytes;
29 return blockedBytes;
30}
31
32bool MessageQueue::GetNextMessage()
33{

Callers

nothing calls this directly

Calls 1

MaxRetrievableFunction · 0.70

Tested by

no test coverage detected