MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / readNext

Method readNext

MonaCore/sources/DataReader.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39bool DataReader::readNext(DataWriter& writer) {
40 UInt8 type(nextType());
41 _nextType = END; // to prevent recursive readNext call (and refresh followingType call)
42 if(type!=END)
43 return readOne(type, writer);
44 return false;
45}
46
47
48UInt32 DataReader::read(DataWriter& writer, UInt32 count) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected