Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Hash
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
| Type | Name | Description | |
|---|---|---|---|
FBlake3Hash () |
Construct a zero hash. | ||
FBlake3Hash
(
const ByteArray& Hash |
Construct a hash from an array of 32 bytes. | ||
FBlake3Hash
(
FAnsiStringView HexHash |
Construct a hash from a 64-character hex string. | ||
FBlake3Hash
(
FWideStringView HexHash |
Construct a zero hash. | ||
FBlake3Hash
(
FUtf8StringView HexHash |
Construct a zero hash. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FBlake3Hash | FromView
(
FMemoryView Hash |
Construct a hash from a view of 32 bytes. | |
| ByteArray & | GetBytes () |
Returns a reference to the raw byte array for the hash. | |
| const ByteArray & | GetBytes () |
||
| bool | IsZero () |
Returns whether this is a zero hash. | |
| void | Reset () |
Reset this to a zero hash. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FBlake3Hash& B |
||
| bool | operator<
(
const FBlake3Hash& B |
||
| bool | operator==
(
const FBlake3Hash& B |
Typedefs
| Name | Description |
|---|---|
| ByteArray |
Constants
| Name | Description |
|---|---|
| Zero | A zero hash. |