MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Get

Method Get

src/twcrypto/bytequeue.cpp:118–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118unsigned int cByteQueueNode::Get(byte& outByte)
119{
120 if (tail == head)
121 return 0;
122
123 outByte = buf[head++];
124 return 1;
125}
126
127unsigned int cByteQueueNode::Get(byte* outString, unsigned int getMax)
128{

Callers 3

ReportErrorMethod · 0.45
ReadMethod · 0.45
ExecuteMethod · 0.45

Calls 1

UsedUpMethod · 0.45

Tested by

no test coverage detected