Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UStruct
Description
Serializes the class properties that reside in Data if they differ from the corresponding values in DefaultData
Binary serialization will read and write unstructured data from the archive. As deprecated properties are read from archives but not written, it is dangerous to call this function on types with deprecated properties, unless the ArWantBinarySerialization flag is set on the archive to force serialization to occur always.
| Name | SerializeBinEx |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
void SerializeBinEx
(
FStructuredArchive::FSlot Slot,
void * Data,
void const * DefaultData,
UStruct * DefaultStruct
) const
Parameters
| Name | Remarks |
|---|---|
| Slot | The structured archive slot we are serializing to |
| Data | pointer to the location of the beginning of the property data |
| DefaultData | pointer to the location of the beginning of the data that should be compared against |
| DefaultStruct | the struct corresponding to the block of memory located at DefaultData |