FCbWriter::Save

Serialize the field(s) to an archive.

Choose your operating system:

Windows

macOS

Linux

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

Syntax

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

Parameter

Description

Ar

An archive to write to. Exactly GetSaveSize() bytes will be written.