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

Function RM_DigestEndSequence

src/module.cpp:5072–5075  ·  view source on GitHub ↗

See the documentation for `RedisModule_DigestAddElement()`. */

Source from the content-addressed store, hash-verified

5070
5071/* See the documentation for `RedisModule_DigestAddElement()`. */
5072void RM_DigestEndSequence(RedisModuleDigest *md) {
5073 xorDigest(md->x,md->o,sizeof(md->o));
5074 memset(md->o,0,sizeof(md->o));
5075}
5076
5077/* Decode a serialized representation of a module data type 'mt' from string
5078 * 'str' and return a newly allocated value, or NULL if decoding failed.

Callers

nothing calls this directly

Calls 1

xorDigestFunction · 0.85

Tested by

no test coverage detected