TMemoryHasher

Archive for hashing arbitrary data

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

void

 

Finalize()

Public function

HashDigest

 

GetHash()

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss