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

Method CopyRangeTo2

src/cryptopp/queue.cpp:375–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375size_t ByteQueue::CopyRangeTo2(BufferedTransformation &target, lword &begin, lword end, const std::string &channel, bool blocking) const
376{
377 Walker walker(*this);
378 walker.Skip(begin);
379 lword transferBytes = end-begin;
380 size_t blockedBytes = walker.TransferTo2(target, transferBytes, channel, blocking);
381 begin += transferBytes;
382 return blockedBytes;
383}
384
385void ByteQueue::Unget(byte inByte)
386{

Callers

nothing calls this directly

Calls 2

SkipMethod · 0.45
TransferTo2Method · 0.45

Tested by

no test coverage detected