1#include <Foundation/Algorithm/HashingUtils.h>
2#include <Foundation/Memory/MemoryUtils.h>
This class provides a base class for hashable structs (e.g. descriptor objects).
Definition HashableStruct.h:17
plUInt32 CalculateHash() const
Calculates the 32 bit hash of the struct and returns it.
Definition HashableStruct_inl.h:26
static plUInt32 xxHash32(const void *pKey, size_t uiSizeInByte, plUInt32 uiSeed=0)
Calculates the 32bit xxHash of the given key.
Definition HashingUtils.cpp:209
static void RawByteCopy(void *pDestination, const void *pSource, size_t uiNumBytesToCopy)
Copies exactly uiNumBytesToCopy from pSource to pDestination, independent of the involved types and t...
Definition MemoryUtils_inl.h:197
static void ZeroFill(T *pDestination, size_t uiCount=1)
Zeros every byte in the provided memory buffer.