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

Function addReplyBulkCBuffer

src/networking.cpp:989–993  ·  view source on GitHub ↗

Add a C buffer as bulk reply */

Source from the content-addressed store, hash-verified

987
988/* Add a C buffer as bulk reply */
989void addReplyBulkCBuffer(client *c, const void *p, size_t len) {
990 addReplyLongLongWithPrefix(c,len,'$');
991 addReplyProto(c,(const char*)p,len);
992 addReply(c,shared.crlf);
993}
994
995/* Add sds to reply (takes ownership of sds and frees it) */
996void addReplyBulkSds(client *c, sds s) {

Callers 15

clusterCommandFunction · 0.85
hincrbyfloatCommandFunction · 0.85
addHashFieldToReplyFunction · 0.85
sendTrackingMessageFunction · 0.85
addReplyDoubleDistanceFunction · 0.85
geohashCommandFunction · 0.85
writeNestedHashToClientFunction · 0.85

Calls 3

addReplyProtoFunction · 0.85
addReplyFunction · 0.85

Tested by

no test coverage detected