MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / addString

Method addString

src/replication.cpp:1117–1121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1115 }
1116
1117 void addString(const char *s, unsigned long len) {
1118 addLongLongWithPrefix(len, '$');
1119 addData(s, len);
1120 addData("\r\n", 2);
1121 }
1122
1123 size_t cbWritten() const { return writtenBytesTracker; }
1124

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected