Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FFileHelper > API/Runtime/Core/Misc/FFileHelper/LoadFileToString
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 LoadFileToString
&40;
FString & Result,
IPlatformFile &42; PlatformFile,
const TCHAR &42; Filename,
EHashOptions VerifyFlags,
uint32 ReadFlags
&41;
Remarks
Load a text file to an FString. Supports all combination of ANSI/Unicode files and platforms.
Parameters
| Name | Description |
|---|---|
| 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 ) |