UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FBlake3Hash Struct Reference

#include <Blake3.h>

Public Types

using ByteArray = uint8[32]
 

Public Member Functions

 FBlake3Hash ()=default
 
 FBlake3Hash (const ByteArray &Hash)
 
 FBlake3Hash (FAnsiStringView HexHash)
 
 FBlake3Hash (FWideStringView HexHash)
 
 FBlake3Hash (FUtf8StringView HexHash)
 
void Reset ()
 
bool IsZero () const
 
ByteArrayGetBytes ()
 
const ByteArrayGetBytes () const
 
bool operator== (const FBlake3Hash &B) const
 
bool operator!= (const FBlake3Hash &B) const
 
bool operator< (const FBlake3Hash &B) const
 

Static Public Member Functions

static FBlake3Hash FromView (FMemoryView Hash)
 

Static Public Attributes

static const FBlake3Hash Zero
 

Friends

FArchiveoperator<< (FArchive &Ar, FBlake3Hash &Value)
 
uint32 GetTypeHash (const FBlake3Hash &Value)
 

Detailed Description

Stores a BLAKE3 hash.

Member Typedef Documentation

◆ ByteArray

Constructor & Destructor Documentation

◆ FBlake3Hash() [1/5]

FBlake3Hash::FBlake3Hash ( )
default

Construct a zero hash.

◆ FBlake3Hash() [2/5]

FBlake3Hash::FBlake3Hash ( const ByteArray Hash)
inlineexplicit

Construct a hash from an array of 32 bytes.

◆ FBlake3Hash() [3/5]

FBlake3Hash::FBlake3Hash ( FAnsiStringView  HexHash)
inlineexplicit

Construct a hash from a 64-character hex string.

◆ FBlake3Hash() [4/5]

FBlake3Hash::FBlake3Hash ( FWideStringView  HexHash)
inlineexplicit

◆ FBlake3Hash() [5/5]

FBlake3Hash::FBlake3Hash ( FUtf8StringView  HexHash)
inlineexplicit

Member Function Documentation

◆ FromView()

FBlake3Hash FBlake3Hash::FromView ( FMemoryView  Hash)
inlinestatic

Construct a hash from a view of 32 bytes.

◆ GetBytes() [1/2]

ByteArray & FBlake3Hash::GetBytes ( )
inline

Returns a reference to the raw byte array for the hash.

◆ GetBytes() [2/2]

const ByteArray & FBlake3Hash::GetBytes ( ) const
inline

◆ IsZero()

bool FBlake3Hash::IsZero ( ) const
inline

Returns whether this is a zero hash.

◆ operator!=()

bool FBlake3Hash::operator!= ( const FBlake3Hash B) const
inline

◆ operator<()

bool FBlake3Hash::operator< ( const FBlake3Hash B) const
inline

◆ operator==()

bool FBlake3Hash::operator== ( const FBlake3Hash B) const
inline

◆ Reset()

void FBlake3Hash::Reset ( )
inline

Reset this to a zero hash.

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FBlake3Hash Value)
friend

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FBlake3Hash Value 
)
friend

Member Data Documentation

◆ Zero

const FBlake3Hash FBlake3Hash::Zero
inlinestatic

A zero hash.


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