Navigation
Unreal Engine C++ API Reference > Runtime > Core > HAL > IFileManager
- IFileManager::CreateFileWriter()
- FFileManagerGeneric::CreateFileWriter()
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/HAL/FileManager.h |
Include | #include "HAL/FileManager.h" |
FArchive * CreateFileWriter
(
const TCHAR * Filename,
uint32 WriteFlags
)
Remarks
Opens a file for writing and create an FArchive which can be used to write to it. Returns a pointer to an FArchive when successful and a nullptr if the operation failed. Note that it is up to the caller to delete the FArchive when done.
Parameters
Name | Description |
---|---|
Filename | Path to the desired location of the file |
WriteFlags | An optional bitfield of optional flags. For flag values see @See EFileWrite |