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

Method Peek

src/cryptopp/queue.cpp:324–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324size_t ByteQueue::Peek(byte &outByte) const
325{
326 if (m_head->Peek(outByte))
327 return 1;
328 else if (m_lazyLength > 0)
329 {
330 outByte = *m_lazyString;
331 return 1;
332 }
333 else
334 return 0;
335}
336
337size_t ByteQueue::Peek(byte *outString, size_t peekMax) const
338{

Callers 5

BERDecodeMethod · 0.45
integer.cppFile · 0.45
DERReencodeFunction · 0.45
PutMethod · 0.45
BERDecodeMethod · 0.45

Calls 1

CopyToFunction · 0.85

Tested by

no test coverage detected