Like `RedisModule_DigestAddStringBuffer()` but takes a long long as input * that gets converted into a string before adding it to the digest. */
| 5063 | /* Like `RedisModule_DigestAddStringBuffer()` but takes a long long as input |
| 5064 | * that gets converted into a string before adding it to the digest. */ |
| 5065 | void RM_DigestAddLongLong(RedisModuleDigest *md, long long ll) { |
| 5066 | char buf[LONG_STR_SIZE]; |
| 5067 | size_t len = ll2string(buf,sizeof(buf),ll); |
| 5068 | mixDigest(md->o,buf,len); |
| 5069 | } |
| 5070 | |
| 5071 | /* See the documentation for `RedisModule_DigestAddElement()`. */ |
| 5072 | void RM_DigestEndSequence(RedisModuleDigest *md) { |