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

Method writeBytes

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

Source from the content-addressed store, hash-verified

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) {
413 _key.assign(value, size);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected