Navigation
API > API/Runtime > API/Runtime/PakFile > API/Runtime/PakFile/FPakFile
Description
Encodes a pak entry as an array of bytes into the given archive. Returns true if encoding succeeded. If encoding did not succeed, caller will need to store the InPakEntry in an unencoded list
| Name | EncodePakEntry |
| Type | function |
| Header File | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include Path | #include "IPlatformFilePak.h" |
| Source | /Engine/Source/Runtime/PakFile/Private/PakFile.cpp |
static bool EncodePakEntry
(
FArchive & Ar,
const FPakEntry & InPakEntry,
const FPakInfo & InInfo
)