Add a C buffer as bulk reply */
| 827 | |
| 828 | /* Add a C buffer as bulk reply */ |
| 829 | void 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) */ |
| 836 | void addReplyBulkSds(client *c, sds s) { |
no test coverage detected