Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FLinkerSave
Description
Construct a file saver from IPlatformFile and call AssignSaver with it.
| Name | TryAssignFileSaver |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/LinkerSave.h |
| Include Path | #include "UObject/LinkerSave.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerSave.cpp |
bool TryAssignFileSaver
(
FStringView InFilename,
bool bForceByteSwapping,
bool bInSaveUnversioned
)
Whether the creation of the Saver archive succeeded.
See Also
-
AssignSaver. If the file write fails
-
the Saver will be set to nullptr and it is a fatal error to call FArchive functions on *this. Caller must handle returnvalue == false and if so destroy *this without calling FArchive functions.