21
21
return m_queue.CopyRangeTo2(target, begin, STDMIN(MaxRetrievable(), end), channel, blocking);
24
unsigned int MessageQueue::TransferTo2(BufferedTransformation &target, unsigned long &transferBytes, const std::string &channel, bool blocking)
24
size_t MessageQueue::TransferTo2(BufferedTransformation &target, lword &transferBytes, const std::string &channel, bool blocking)
26
26
transferBytes = STDMIN(MaxRetrievable(), transferBytes);
27
unsigned int blockedBytes = m_queue.TransferTo2(target, transferBytes, channel, blocking);
27
size_t blockedBytes = m_queue.TransferTo2(target, transferBytes, channel, blocking);
28
28
m_lengths.front() -= transferBytes;