12 #ifndef ROC_CORE_HASHSUM_H_
13 #define ROC_CORE_HASHSUM_H_
hashsum_t hashsum_int(int16_t)
Compute hash of 16-bit integer.
hashsum_t hashsum_str(const char *str)
Compute hash of zero-terminated string.
void hashsum_add(hashsum_t &hash, const void *data, size_t size)
Incrementally compute hash of memory chunks. On first invocation, hash should be zero.
hashsum_t hashsum_mem(const void *data, size_t size)
Compute hash of byte range.
size_t hashsum_t
Hash type.
Commonly used types and functions.