Like `RedisModule_DigestAddStringBuffer()` but takes a long long as input * that gets converted into a string before adding it to the digest. */
| 4954 | /* Like `RedisModule_DigestAddStringBuffer()` but takes a long long as input |
| 4955 | * that gets converted into a string before adding it to the digest. */ |
| 4956 | void RM_DigestAddLongLong(RedisModuleDigest *md, long long ll) { |
| 4957 | char buf[LONG_STR_SIZE]; |
| 4958 | size_t len = ll2string(buf,sizeof(buf),ll); |
| 4959 | mixDigest(md->o,buf,len); |
| 4960 | } |
| 4961 | |
| 4962 | /* See the documentation for `RedisModule_DigestAddElement()`. */ |
| 4963 | void RM_DigestEndSequence(RedisModuleDigest *md) { |