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

#include <xxhash.h>

Public Member Functions

void ToByteArray (uint8(&Bytes)[sizeof(uint64)]) const
 
bool operator== (const FXxHash64 &B) const
 
bool operator!= (const FXxHash64 &B) const
 
bool operator< (const FXxHash64 &B) const
 

Static Public Member Functions

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

Public Attributes

uint64 Hash {}
 

Friends

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

Detailed Description

A 64-bit hash from XXH3.

Definition at line 18 of file xxhash.h.

Member Function Documentation

◆ FromByteArray()

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

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

Definition at line 25 of file xxhash.h.

+ Here is the call graph for this function:

◆ HashBuffer() [1/3]

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

◆ HashBuffer() [2/3]

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

◆ HashBuffer() [3/3]

static FXxHash64 FXxHash64::HashBuffer ( FMemoryView View)
static

◆ operator!=()

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

Definition at line 44 of file xxhash.h.

◆ operator<()

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

Definition at line 49 of file xxhash.h.

◆ operator==()

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

Definition at line 39 of file xxhash.h.

◆ ToByteArray()

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

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

Definition at line 33 of file xxhash.h.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FXxHash64 & InHash)
friend

Definition at line 54 of file xxhash.h.

◆ operator<< [1/2]

FArchive & operator<< ( FArchive & Ar,
FXxHash64 & InHash )
friend

Definition at line 59 of file xxhash.h.

◆ operator<< [2/2]

template<typename CharType >
TStringBuilderBase< CharType > & operator<< ( TStringBuilderBase< CharType > & Builder,
const FXxHash64 & InHash )
friend

Definition at line 65 of file xxhash.h.

Member Data Documentation

◆ Hash

uint64 FXxHash64::Hash {}

The hash in its native representation.

Use the canonical representation from ToByteArray to serialize or display the hash.

Definition at line 79 of file xxhash.h.


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