Navigation
API > API/Runtime > API/Runtime/Core
Rolling hash function. Allows efficient computation of the hash of a window into a block of data, which can be moved through the data byte by byte.
| Name | FBuzHash |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Hash/BuzHash.h |
| Include Path | #include "Hash/BuzHash.h" |
Syntax
struct FBuzHash
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Table | const uint32 | Hash/BuzHash.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Count | uint64 | Hash/BuzHash.h | ||
| State | uint32 | Hash/BuzHash.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
uint8 X |
Appends a byte to the start of the window and updates the hash. | Hash/BuzHash.h | |
void Add
(
FMemoryView View |
Adds an array of bytes to the start of the window. | Hash/BuzHash.h | |
void Add
(
const uint8* Data, |
Adds an array of bytes to the start of the window. | Hash/BuzHash.h | |
uint32 Get() |
Gets the current hash value. | Hash/BuzHash.h | |
uint64 GetWindowSize() |
Gets the size of the window. | Hash/BuzHash.h | |
void Reset() |
Reset the state of the hasher. | Hash/BuzHash.h | |
void Sub
(
uint8 X |
Removes a byte from the back of the sliding window and updates the hash. | Hash/BuzHash.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 Rol32
(
uint32 V, |
Hash/BuzHash.h |