FCbWriter::GetSaveSize

The size of buffer (in bytes) required to serialize the fields that have been written.

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

uint64 GetSaveSize() const

Remarks

The size of buffer (in bytes) required to serialize the fields that have been written.

It is not valid to call this function in the middle of writing an object, array, or field.