FCbWriter::SetName

Sets the name of the next field to be 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

FCbWriter & SetName
(
    FUtf8StringView Name
)

Remarks

Sets the name of the next field to be written.

It is not valid to call this function when writing a field inside an array. Names must be valid UTF-8 and must be unique within an object.