folly::external::farmhash::farmhashcc::Fingerprint32

Fingerprints a byte array to a 32-bit value.

Synopsis

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

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

Return Value

The 32-bit fingerprint of the array.

Parameters

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