Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FXxHash128 Struct Reference

#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
 

Static Public Member Functions

static FXxHash128 HashBuffer (FMemoryView View)
 
static FXxHash128 HashBuffer (const void *Data, uint64 Size)
 
static FXxHash128 HashBuffer (const FCompositeBuffer &Buffer)
 
static FXxHash128 FromByteArray (uint8(&Bytes)[sizeof(uint64[2])])
 

Public Attributes

uint64 HashLow {}
 
uint64 HashHigh {}
 

Friends

uint32 GetTypeHash (const FXxHash128 &Hash)
 
FArchiveoperator<< (FArchive &Ar, FXxHash128 &Hash)
 
template<typename CharType >
TStringBuilderBase< CharType > & operator<< (TStringBuilderBase< CharType > &Builder, const FXxHash128 &Hash)
 

Detailed Description

A 128-bit hash from XXH3.

Definition at line 83 of file xxhash.h.

Member Function Documentation

◆ FromByteArray()

static FXxHash128 FXxHash128::FromByteArray ( uint8(&) Bytes[sizeof(uint64[2])
inlinestatic

Load the hash from its canonical (big-endian) representation.

Definition at line 91 of file xxhash.h.

+ Here is the call graph for this function:

◆ HashBuffer() [1/3]

static FXxHash128 FXxHash128::HashBuffer ( const FCompositeBuffer & Buffer)
static

◆ HashBuffer() [2/3]

static FXxHash128 FXxHash128::HashBuffer ( const void * Data,
uint64 Size )
static

◆ HashBuffer() [3/3]

static FXxHash128 FXxHash128::HashBuffer ( FMemoryView View)
static

◆ operator!=()

bool FXxHash128::operator!= ( const FXxHash128 & B) const
inline

Definition at line 123 of file xxhash.h.

◆ operator<()

bool FXxHash128::operator< ( const FXxHash128 & B) const
inline

Definition at line 128 of file xxhash.h.

◆ operator==()

bool FXxHash128::operator== ( const FXxHash128 & B) const
inline

Definition at line 118 of file xxhash.h.

◆ ToByteArray()

void FXxHash128::ToByteArray ( uint8(&) Bytes[sizeof(uint64[2]) const
inline

Store the hash to its canonical (big-endian) representation.

Definition at line 99 of file xxhash.h.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FXxHash128 & Hash)
friend

Definition at line 133 of file xxhash.h.

◆ operator<< [1/2]

FArchive & operator<< ( FArchive & Ar,
FXxHash128 & Hash )
friend

Definition at line 138 of file xxhash.h.

◆ operator<< [2/2]

template<typename CharType >
TStringBuilderBase< CharType > & operator<< ( TStringBuilderBase< CharType > & Builder,
const FXxHash128 & Hash )
friend

Definition at line 144 of file xxhash.h.

Member Data Documentation

◆ HashHigh

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.

Definition at line 116 of file xxhash.h.

◆ HashLow

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.

Definition at line 110 of file xxhash.h.


The documentation for this struct was generated from the following file: