carb::hashLowercaseBuffer

Defined in carb/Defines.h

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

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

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.