FPakFile::ReadHashFromPayload

[FPakFile](API\Runtime\PakFile\FPakFile) helper functions shared between the runtime and UnrealPak.exe.

Windows
MacOS
Linux

References

Module

PakFile

Header

/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h

Include

#include "IPlatformFilePak.h"

Syntax

void ReadHashFromPayload
(
    const FPakEntry & PakEntry,
    uint8 * OutBuffer
)

Remarks

Given a FPakEntry from the index, seek to the payload and read the hash of the payload out of the payload entry Warning: Slow function, do not use in performance critical operations

Parameters

Parameter

Description

PakEntry

the FPakEntry from the index, which has the Offset to read to

OutBuffer

a buffer at least sizeof(FPakEntry::Hash) in size, into which the hash will be copied

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback