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

Method writeNull

MonaCore/sources/HTTP/HTTP.cpp:405–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403 _option = NO;
404 }
405 void writeNull() {
406 if (_option <= 2 && writeHeader())
407 writeContent<String>("null");
408 _option = NO;
409 }
410 UInt64 writeBytes(const UInt8* data, UInt32 size) { writeString((const char*)data, size); return 0; }
411 void writeString(const char* value, UInt32 size) {
412 if (_key.empty() && size && _option==VALUE) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected