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

Method writeBoolean

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

Source from the content-addressed store, hash-verified

42 void writeNumber(double value) { String::Append(writer(), value); }
43 void writeString(const char* value, UInt32 size) { Util::EncodeURI(value,size, writer()); }
44 void writeBoolean(bool value) { writer().write(value ? "true" : "false"); }
45 void writeNull() { writer().write("null",4); }
46 UInt64 writeDate(const Date& date) { std::string buffer; writer().write(date.toString(Date::ISO8601_SHORT_FORMAT,buffer)); return 0; }
47 UInt64 writeBytes(const UInt8* data, UInt32 size) { Util::ToBase64(data, size, writer()); return 0; }

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected