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

Function moduleParseCallReply_Int

src/module.cpp:3885–3892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3883}
3884
3885void moduleParseCallReply_Int(RedisModuleCallReply *reply) {
3886 char *proto = reply->proto;
3887 char *p = strchr(proto+1,'\r');
3888
3889 string2ll(proto+1,p-proto-1,&reply->val.ll);
3890 reply->protolen = p-proto+2;
3891 reply->type = REDISMODULE_REPLY_INTEGER;
3892}
3893
3894void moduleParseCallReply_BulkString(RedisModuleCallReply *reply) {
3895 char *proto = reply->proto;

Callers 1

moduleParseCallReplyFunction · 0.85

Calls 1

string2llFunction · 0.70

Tested by

no test coverage detected