Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FFileHelper
Description
Load a text file to an FString. Supports all combination of ANSI/Unicode files and platforms.
Converts an arbitrary text buffer to an FString. Supports all combination of ANSI/Unicode files and platforms.
| Name | BufferToString |
| 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 void BufferToString
(
FString & Result,
const uint8 * Buffer,
int32 Size
)