MCPcopy Create free account
hub / github.com/F-Stack/f-stack / RM_DigestAddStringBuffer

Function RM_DigestAddStringBuffer

app/redis-6.2.6/src/module.c:4950–4952  ·  view source on GitHub ↗

Add a new element to the digest. This function can be called multiple times * one element after the other, for all the elements that constitute a given * data structure. The function call must be followed by the call to * `RedisModule_DigestEndSequence` eventually, when all the elements that are * always in a given order are added. See the Redis Modules data types * documentation for more inf

Source from the content-addressed store, hash-verified

4948 *
4949 */
4950void RM_DigestAddStringBuffer(RedisModuleDigest *md, unsigned char *ele, size_t len) {
4951 mixDigest(md->o,ele,len);
4952}
4953
4954/* Like `RedisModule_DigestAddStringBuffer()` but takes a long long as input
4955 * that gets converted into a string before adding it to the digest. */

Callers

nothing calls this directly

Calls 1

mixDigestFunction · 0.85

Tested by

no test coverage detected