fnva32_buf overloads
Declared in <folly/hash/FnvHash.h>
FNV hash of a byte-range given as a type-erased pointer.
uint32_t
fnva32_buf(
void const* buf,
size_t n,
uint32_t hash = fnva32_hash_start) noexcept;
» more...
FNVA hash of a byte-range.
template</* implementation-defined */ C>
constexpr
uint32_t
fnva32_buf(
C const* buf,
size_t n,
uint32_t hash = fnva32_hash_start) noexcept;
» more...
The resulting FNV hash value
| Name | Description |
|---|---|
| buf | Pointer to the bytes to hash |
| n | Number of bytes to hash |
| hash | Initial hash seed to continue from |
fnv32 methodset fnv