Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FBulkData
Description
When saving BulkData, if we are overwriting the file we need to update the BulkData's (flags,offset,size) to be able to load from the new file. But SerializeBulkData modifies those values when loading, so the in-memory values after loading from disk are not the same as the values on disk. This function handles running the same steps that SerializeBulkData does, but skips the deserialization of the BulkData.
| Name | SetFlagsFromDiskWrittenValues |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkData.h |
| Include Path | #include "Serialization/BulkData.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Serialization/BulkData.cpp |
void SetFlagsFromDiskWrittenValues
(
EBulkDataFlags InBulkDataFlags,
int64 InBulkDataOffsetInFile,
int64 InBulkDataSizeOnDisk,
int64 LinkerSummaryBulkDataStartOffset
)