MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / Read

Method Read

CobaltFusion/CircularBuffer.cpp:153–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153char CircularBuffer::Read()
154{
155 if (Empty())
156 throw std::exception("Read from empty buffer!");
157
158 auto value = *ReadPointer();
159 //std::cerr << " " << m_readOffset << " => " << unsigned int(unsigned char(value)) << "\n";
160 IncreaseReadPointer();
161 return value;
162}
163
164void CircularBuffer::Write(char value)
165{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected