Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Serialization > API/Runtime/Core/Serialization/FCbWriter > API/Runtime/Core/Serialization/FCbWriter/Save
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinaryWriter.h |
| Include | #include "Serialization/CompactBinaryWriter.h" |
| Source | /Engine/Source/Runtime/Core/Private/Serialization/CompactBinaryWriter.cpp |
void Save
(
FArchive & Ar
) const
Remarks
Serialize the field(s) to an archive.
It is not valid to call this function in the middle of writing an object, array, or field. The writer remains valid for further use when this function returns.
Parameters
| Name | Description |
|---|---|
| Ar | An archive to write to. Exactly GetSaveSize() bytes will be written. |