Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FFileHelper > API/Runtime/Core/Misc/FFileHelper/LoadFileToArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/FileHelper.h |
| Include | #include "Misc/FileHelper.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/FileHelper.cpp |
static bool LoadFileToArray
&40;
TArray64< uint8 > & Result,
const TCHAR &42; Filename,
uint32 Flags
&41;
Remarks
Load a binary file to a dynamic array with two uninitialized bytes at end as padding.
Load a binary file to a dynamic array with two uninitialized bytes at end as padding. TArray64 version.
Parameters
| Name | Description |
|---|---|
| Result | Receives the contents of the file |
| Filename | The file to read |
| Flags | Flags to pass to IFileManager::CreateFileReader |