Navigation
API > API/Runtime > API/Runtime/PakFile > API/Runtime/PakFile/FPakFile
Description
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
| Name | ReadHashFromPayload |
| Type | function |
| Header File | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include Path | #include "IPlatformFilePak.h" |
void ReadHashFromPayload
(
const FPakEntry & PakEntry,
uint8 * OutBuffer
)
Parameters
| Name | Remarks |
|---|---|
| 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 |