Navigation
API > API/Runtime > API/Runtime/Core
| Name | FFileHelper |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/FileHelper.h |
| Include Path | #include "Misc/FileHelper.h" |
Syntax
struct FFileHelper
Enums
Public
| Name | Remarks |
|---|---|
| EColorChannel | |
| EEncodingOptions | |
| EHashOptions |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void BufferToString
(
FString& Result, |
Load a text file to an FString. | Misc/FileHelper.h | |
static bool CreateBitmap
(
const TCHAR* Pattern, |
Saves a 24/32Bit BMP file to disk for debug image dump purposes | Misc/FileHelper.h | |
static PRAGMA_DISABLE_DEPRECATION_WARNINGS bool CreateBitmap
(
const TCHAR* Pattern, |
Misc/FileHelper.h | ||
static void GenerateDateTimeBasedBitmapFilename
(
const FString& Pattern, |
Generates the next unique bitmap filename with a specified extension | Misc/FileHelper.h | |
static bool GenerateNextBitmapFilename
(
const FString& Pattern, |
Generates the next unique bitmap filename with a specified extension | Misc/FileHelper.h | |
static bool IsFilenameValidForSaving
(
const FString& Filename, |
Checks to see if a filename is valid for saving. | Misc/FileHelper.h | |
static bool LoadANSITextFileToStrings
(
const TCHAR* InFilename, |
Load the given ANSI text file to an array of strings - one FString per line of the file. | Misc/FileHelper.h | |
static bool LoadFileInBlocks
(
FStringView Filename, |
Load a binary file a block at a time into a buffer and call the visitor each time the buffer is populated with a new block. | Misc/FileHelper.h | |
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 | |
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. | Misc/FileHelper.h | |
static bool LoadFileToStringArray
(
TArray< FString >& Result, |
Load a text file to an array of strings. | Misc/FileHelper.h | |
static bool LoadFileToStringArray
(
TArray< FString >& Result, |
Misc/FileHelper.h | ||
static bool LoadFileToStringArrayWithPredicate
(
TArray< FString >& Result, |
Load a text file to an array of strings, filtered by a user-defined predicate. | Misc/FileHelper.h | |
static bool LoadFileToStringArrayWithPredicate
(
TArray< FString >& Result, |
Misc/FileHelper.h | ||
static bool LoadFileToStringWithLineVisitor
(
const TCHAR* Filename, |
Load a text file and invoke a visitor for each line. | Misc/FileHelper.h | |
static bool SaveArrayToFile
(
TArrayView64< const uint8 > Array, |
Save a binary array to a file. | Misc/FileHelper.h | |
static bool SaveArrayToFile
(
const TArray64< uint8 >& Array, |
Save a binary array to a file. | Misc/FileHelper.h | |
static bool SaveStringArrayToFile
(
const TArray< FString >& Lines, |
Write the FString to a file. | Misc/FileHelper.h | |
static bool SaveStringToFile
(
FStringView String, |
Write the FString to a file. | Misc/FileHelper.h |