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

Method writeBoolean

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

Source from the content-addressed store, hash-verified

42 void writeNumber(double value) { append(value); }
43 void writeString(const char* value, UInt32 size) { append(value,size); }
44 void writeBoolean(bool value) { append( value ? "true" : "false"); }
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; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected