folly::external::farmhash::farmhashnt::Hash32

Hashes a byte array to a 32-bit value.

Synopsis

Declared in <folly/external/farmhash/farmhash.h>

uint32_t
Hash32(
    char const* s,
    size_t len);

Return Value

The 32-bit hash of the array.

Parameters

NameDescription
sPointer to the byte array to hash.
lenLength of the array, in bytes.