Navigation
API > API/Runtime > API/Runtime/PakFile > API/Runtime/PakFile/FPakFile
References
| Module | PakFile |
| Header | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include | #include "IPlatformFilePak.h" |
void ReadHashFromPayload
&40;
const FPakEntry & PakEntry,
uint8 &42; OutBuffer
&41;
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
| Name | 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 |