EStructSerializerBackendFlags

Flags controlling the behavior of struct serializer backends.

Windows
MacOS
Linux

References

Module

Serialization

Header

/Engine/Source/Runtime/Serialization/Public/IStructSerializerBackend.h

Include

#include "IStructSerializerBackend.h"

Syntax

enum EStructSerializerBackendFlags
{
    None                           = 0,
    WriteTextAsComplexString       = 1<<0,
    WriteByteArrayAsByteStream     = 1<<1,
    WriteCborStandardEndianness    = 1 << 2,
    Legacy                         = None,
    Default                        = WriteTextAsComplexString | WriteByteArrayAsByteStream,
}

Values

Name

Description

None

No special behavior.

WriteTextAsComplexString

Write text in its complex exported format (eg, NSLOCTEXT(...)) rather than as a simple string.

WriteByteArrayAsByteStream

Write TArray/TArray as byte string if possible (CBOR), starting at 4.25.

WriteCborStandardEndianness

Force the CBOR backend to write CBOR data in big endian (CBOR compliant endianness), available from 4.25.

Legacy

Legacy settings for backwards compatibility with code compiled prior to 4.22.

Default

Default settings for code compiled for 4.25 onwards.

Remarks

Flags controlling the behavior of struct serializer backends.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss