Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FFileHelper
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool LoadFileToString
(
FString& Result, |
Loads a text file from an FArchive to an FString. | Misc/FileHelper.h | |
static bool LoadFileToString
(
FString& Result, |
Load a text file to an FString. | Misc/FileHelper.h | |
static bool LoadFileToString
(
FString& Result, |
Load a text file to an FString. Supports all combination of ANSI/Unicode files and platforms. | Misc/FileHelper.h |
LoadFileToString(FString &, FArchive &, EHashOptions)
Description
Loads a text file from an FArchive to an FString. Supports all combination of ANSI/Unicode files and platforms.
| Name | LoadFileToString |
| 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 LoadFileToString
(
FString & Result,
FArchive & Reader,
EHashOptions VerifyFlags
)
Parameters
| Name | Remarks |
|---|---|
| Result | String representation of the loaded file |
| Reader | The archive to load from |
| VerifyFlags | Flags controlling the hash verification behavior ( see EHashOptions ) |
LoadFileToString(FString &, const TCHAR *, EHashOptions, uint32)
Description
Load a text file to an FString. Supports all combination of ANSI/Unicode files and platforms.
Load a text file to an FString. Supports all combination of ANSI/Unicode files and platforms.
| Name | LoadFileToString |
| 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 LoadFileToString
(
FString & Result,
const TCHAR * Filename,
EHashOptions VerifyFlags,
uint32 ReadFlags
)
Parameters
| Name | Remarks |
|---|---|
| Result | String representation of the loaded file |
| Filename | Name of the file to load |
| VerifyFlags | Flags controlling the hash verification behavior ( see EHashOptions ) |
| Result | string representation of the loaded file |
| Filename | name of the file to load |
| VerifyFlags | flags controlling the hash verification behavior ( see EHashOptions ) |
LoadFileToString(FString &, IPlatformFile , const TCHAR , EHashOptions, uint32)
Description
Load a text file to an FString. Supports all combination of ANSI/Unicode files and platforms.
| Name | LoadFileToString |
| 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 LoadFileToString
(
FString & Result,
IPlatformFile * PlatformFile,
const TCHAR * Filename,
EHashOptions VerifyFlags,
uint32 ReadFlags
)
Parameters
| Name | Remarks |
|---|---|
| Result | String representation of the loaded file |
| PlatformFile | PlatformFile interface to use |
| Filename | Name of the file to load |
| VerifyFlags | Flags controlling the hash verification behavior ( see EHashOptions ) |