FCbWriter::Save

Serialize the field(s) to an owned buffer and return it as an iterator.

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

FCbFieldIterator Save() const

Remarks

Serialize the field(s) to an owned buffer and return it as an iterator.

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.