carb::hashUppercaseBuffer

Defined in carb/Defines.h

inline uint64_t carb::hashUppercaseBuffer(const void *buffer, size_t len, uint64_t hash = kFnvBasis)

Runtime FNV-1a 64-bit upper-case byte hash (as if the bytes had been converted using toupper()).

Parameters
  • buffer – The byte buffer to hash.

  • len – The number of bytes in buffer.

  • hash – The previous hash value or starting hash basis.

Returns

A hash computed from the given parameters.