![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <xxhash.h>
Public Member Functions | |
| void | ToByteArray (uint8(&Bytes)[sizeof(uint64[2])]) const |
| bool | operator== (const FXxHash128 &B) const |
| bool | operator!= (const FXxHash128 &B) const |
| bool | operator< (const FXxHash128 &B) const |
| bool | IsZero () const |
Static Public Member Functions | |
| static CORE_API FXxHash128 | HashBuffer (FMemoryView View) |
| static CORE_API FXxHash128 | HashBuffer (const void *Data, uint64 Size) |
| static CORE_API FXxHash128 | HashBuffer (const FCompositeBuffer &Buffer) |
| static CORE_API FXxHash128 | HashBufferChunked (FMemoryView View, uint64 ChunkSize) |
| static CORE_API FXxHash128 | HashBufferChunked (const void *Data, uint64 Size, uint64 ChunkSize) |
| static FXxHash128 | FromByteArray (const uint8(&Bytes)[sizeof(uint64[2])]) |
Public Attributes | |
| uint64 | HashLow {} |
| uint64 | HashHigh {} |
Friends | |
| uint32 | GetTypeHash (const FXxHash128 &Hash) |
| FArchive & | operator<< (FArchive &Ar, FXxHash128 &Hash) |
| template<typename CharType > | |
| TStringBuilderBase< CharType > & | operator<< (TStringBuilderBase< CharType > &Builder, const FXxHash128 &Hash) |
A 128-bit hash from XXH128.
|
inlinestatic |
Load the hash from its canonical (big-endian) representation.
|
static |
|
static |
|
static |
|
static |
|
static |
Hash the buffer in parallel in independent chunks, and hash those hashes.
Use a ChunkSize large enough to cover task overhead, e.g., 256+ KiB. Hashing the same buffer with different chunk sizes produces a different output hash.
|
inline |
|
inline |
|
inline |
|
inline |
Store the hash to its canonical (big-endian) representation.
|
friend |
|
friend |
|
friend |
| uint64 FXxHash128::HashHigh {} |
The high 64 bits of the hash in its native representation.
Use the canonical representation from ToByteArray to serialize or display the hash.
| uint64 FXxHash128::HashLow {} |
The low 64 bits of the hash in its native representation.
Use the canonical representation from ToByteArray to serialize or display the hash.