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

Method readOne

MonaCore/sources/AMFReader.cpp:159–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159bool AMFReader::readOne(UInt8 type, DataWriter& writer) {
160 bool resetAMF3(false);
161 if (_amf3 == 1) {
162 resetAMF3 = true;
163 _amf3 = 2;
164 }
165
166 bool written(writeOne(type, writer));
167
168 if (resetAMF3)
169 _amf3 = 0;
170
171 return written;
172}
173
174bool AMFReader::writeOne(UInt8 type, DataWriter& writer) {
175

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected