TMemoryHasher

Archive for hashing arbitrary data

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/MemoryHasher.h

Include

#include "Serialization/MemoryHasher.h"

Syntax

template<typename HashBuilder, typename HashDigest>
class TMemoryHasher : public FMemoryArchive

Remarks

Archive for hashing arbitrary data

Variables

Name Description

Protected variable

HashBuilder

 

BuilderState

Context data needed to build the hash

Constructors

Name Description

Public function

TMemoryHasher()

Functions

Name Description

Public function

HashDigest

 

Finalize()

Overridden from FArchive

Name Description

Public function Virtual

void

 

Serialize

(
    void* Data,
    int64 Num
)

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

int64

 

TotalSize()

Returns total size of the backing data storage.