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

Method writeBytes

MonaCore/include/Mona/StringWriter.h:47–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 void writeNull() { packet.write("null",4); }
46 UInt64 writeDate(const Date& date) { std::string buffer; append(date.toString(Date::SORTABLE_FORMAT, buffer)); return 0; }
47 UInt64 writeBytes(const UInt8* data, UInt32 size) { append(data, size); return 0; }
48
49 void clear(UInt32 size = 0) { if (_pString) _pString->erase(size); else packet.clear(size); }
50private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected