FBlake3Hash

Stores a BLAKE3 hash.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Hash/Blake3.h

Include

#include "Hash/Blake3.h"

Syntax

struct FBlake3Hash

Remarks

Stores a BLAKE3 hash.

Constructors

Name Description

Public function

FBlake3Hash()

Construct a zero hash.

Public function

FBlake3Hash

(
    const ByteArray& Hash
)

Construct a hash from an array of 32 bytes.

Public function

FBlake3Hash

(
    FMemoryView Hash
)

Construct a hash from a view of 32 bytes.

Public function

FBlake3Hash

(
    FAnsiStringView HexHash
)

Construct a hash from a 64-character hex string.

Public function

FBlake3Hash

(
    FWideStringView HexHash
)

Construct a zero hash.

Public function

FBlake3Hash

(
    FUtf8StringView HexHash
)

Construct a zero hash.

Functions

Name Description

Public function

ByteArray &

 

GetBytes()

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

Public function Const

const ByteAr...

 

GetBytes()

Public function Const

bool

 

IsZero()

Returns whether this is a zero hash.

Public function

void

 

Reset()

Reset this to a zero hash.

Typedefs

Name

Description

ByteArray

Constants

Name

Description

Zero

A zero hash.