folly::hash::hsieh_hash32_buf

hsieh hash a void* byte-range.

Synopsis

Declared in <folly/hash/HsiehHash.h>

uint32_t
hsieh_hash32_buf(
    void const* buf,
    size_t len) noexcept;

Return Value

The 32-bit Hsieh hash of the byte range

Parameters

NameDescription
bufPointer to the bytes to hash
lenNumber of bytes to hash

See Also

hsieh_hash32_str methodset hsieh