/Engine/Source/Runtime/Core/Public/Misc/FileHelper.h
Converts an arbitrary text buffer to anFString. Supports all combination of ANSI/Unicode files and platforms.
static void BufferToString ( [FString](API\Runtime\Core\Containers\FString) & Result, const uint8 * Buffer, int32 Size )