IStructSerializerBackend::WritePODArray

Writes a POD Array property to the output stream.

Windows
MacOS
Linux

Override Hierarchy

IStructSerializerBackend::WritePODArray()

FCborStructSerializerBackend::WritePODArray()

References

Module

Serialization

Header

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

Include

#include "IStructSerializerBackend.h"

Syntax

virtual bool WritePODArray
(
    const FStructSerializerState & State
)

Remarks

Writes a POD Array property to the output stream. @note implementations will support only a Int8 or Byte array at the moment

State.ValueProperty points to the property that holds the value to write. needs to be an ArrayProperty with a properly supported InnerProperty. State.ValueData points to the actual data to write. The array itself in this case State.TypeInfo contains the data's type information

Returns

true if the array was properly written entirely as a pod array, false is we need to fallback to per element serialization

Parameters

Parameter

Description

State

The serializer's current state.

See Also

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