Add a C buffer as bulk reply */
| 987 | |
| 988 | /* Add a C buffer as bulk reply */ |
| 989 | void 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) */ |
| 996 | void addReplyBulkSds(client *c, sds s) { |
no test coverage detected