5#include "Containers/ArrayView.h"
6#include "Containers/StringFwd.h"
8#include "HAL/UnrealMemory.h"
9#include "Memory/MemoryFwd.h"
10#include "Misc/ByteSwap.h"
11#include "Serialization/Archive.h"
12#include "String/BytesToHex.h"
14class FCompositeBuffer;
15template <
typename CharType>
class TStringBuilderBase;
56 return uint32(InHash
.Hash);
61 return Ar << InHash
.Hash;
64 template <
typename CharType>
65 friend inline TStringBuilderBase<CharType>&
operator<<(TStringBuilderBase<CharType>& Builder,
const FXxHash64& InHash)
75
76
77
78
93 uint64 HashBigEndian[2];
99 inline void ToByteArray(uint8 (&Bytes)[
sizeof(uint64[2])])
const
106
107
108
109
112
113
114
115
143 template <
typename CharType>
144 friend inline TStringBuilderBase<CharType>&
operator<<(TStringBuilderBase<CharType>& Builder,
const FXxHash128& Hash)
165 void Update(
const void* Data, uint64 Size);
166 void Update(
const FCompositeBuffer& Buffer);
186 void Update(
const void* Data, uint64 Size);
187 void Update(
const FCompositeBuffer& Buffer);
#define NETWORK_ORDER64(x)
FXxHash128Builder(const FXxHash128Builder &)=delete
void Update(FMemoryView View)
FXxHash128 Finalize() const
void Update(const void *Data, uint64 Size)
FXxHash128Builder & operator=(const FXxHash128Builder &)=delete
void Update(const FCompositeBuffer &Buffer)
void Update(FMemoryView View)
void Update(const void *Data, uint64 Size)
FXxHash64Builder(const FXxHash64Builder &)=delete
void Update(const FCompositeBuffer &Buffer)
FXxHash64 Finalize() const
FXxHash64Builder & operator=(const FXxHash64Builder &)=delete
static FORCEINLINE void * Memcpy(void *Dest, const void *Src, SIZE_T Count)
void ToByteArray(uint8(&Bytes)[sizeof(uint64[2])]) const
bool operator!=(const FXxHash128 &B) const
friend uint32 GetTypeHash(const FXxHash128 &Hash)
bool operator==(const FXxHash128 &B) const
static FXxHash128 HashBuffer(FMemoryView View)
static FXxHash128 FromByteArray(uint8(&Bytes)[sizeof(uint64[2])])
static FXxHash128 HashBuffer(const FCompositeBuffer &Buffer)
static FXxHash128 HashBuffer(const void *Data, uint64 Size)
friend TStringBuilderBase< CharType > & operator<<(TStringBuilderBase< CharType > &Builder, const FXxHash128 &Hash)
bool operator<(const FXxHash128 &B) const
static FXxHash64 FromByteArray(uint8(&Bytes)[sizeof(uint64)])
friend TStringBuilderBase< CharType > & operator<<(TStringBuilderBase< CharType > &Builder, const FXxHash64 &InHash)
bool operator==(const FXxHash64 &B) const
static FXxHash64 HashBuffer(FMemoryView View)
bool operator<(const FXxHash64 &B) const
void ToByteArray(uint8(&Bytes)[sizeof(uint64)]) const
bool operator!=(const FXxHash64 &B) const
static FXxHash64 HashBuffer(const void *Data, uint64 Size)
static FXxHash64 HashBuffer(const FCompositeBuffer &Buffer)
friend uint32 GetTypeHash(const FXxHash64 &InHash)