Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FFileHelper
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool LoadFileToArray
(
TArray< uint8 >& Result, |
Load a binary file to a dynamic array with two uninitialized bytes at end as padding. | Misc/FileHelper.h | |
static bool LoadFileToArray
(
TArray64< uint8 >& Result, |
Load a binary file to a dynamic array with two uninitialized bytes at end as padding. | Misc/FileHelper.h |
LoadFileToArray(TArray< uint8 > &, const TCHAR *, uint32)
Description
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.
| Name | LoadFileToArray |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/FileHelper.h |
| Include Path | #include "Misc/FileHelper.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/FileHelper.cpp |
static bool LoadFileToArray
(
TArray < uint8 > & Result,
const TCHAR * Filename,
uint32 Flags
)
Parameters
| Name | Remarks |
|---|---|
| Result | Receives the contents of the file |
| Filename | The file to read |
| Flags | Flags to pass to IFileManager::CreateFileReader |
LoadFileToArray(TArray64< uint8 > &, const TCHAR *, uint32)
Description
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.
| Name | LoadFileToArray |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/FileHelper.h |
| Include Path | #include "Misc/FileHelper.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/FileHelper.cpp |
static bool LoadFileToArray
(
TArray64< uint8 > & Result,
const TCHAR * Filename,
uint32 Flags
)
Parameters
| Name | Remarks |
|---|---|
| Result | Receives the contents of the file |
| Filename | The file to read |
| Flags | Flags to pass to IFileManager::CreateFileReader |