MCPcopy Create free account
hub / github.com/F-Stack/f-stack / addReplyBulkCBuffer

Function addReplyBulkCBuffer

app/redis-6.2.6/src/networking.c:829–833  ·  view source on GitHub ↗

Add a C buffer as bulk reply */

Source from the content-addressed store, hash-verified

827
828/* Add a C buffer as bulk reply */
829void addReplyBulkCBuffer(client *c, const void *p, size_t len) {
830 addReplyLongLongWithPrefix(c,len,'$');
831 addReplyProto(c,p,len);
832 addReply(c,shared.crlf);
833}
834
835/* Add sds to reply (takes ownership of sds and frees it) */
836void addReplyBulkSds(client *c, sds s) {

Callers 15

luaReplyToRedisReplyFunction · 0.85
scriptCommandFunction · 0.85
sentinelCommandFunction · 0.85
sentinelRoleCommandFunction · 0.85
hincrbyfloatCommandFunction · 0.85
addHashFieldToReplyFunction · 0.85
roleCommandFunction · 0.85
addReplyDoubleDistanceFunction · 0.85

Calls 3

addReplyProtoFunction · 0.85
addReplyFunction · 0.85

Tested by

no test coverage detected