FVariant::operator=

Assignment operator for byte arrays.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Variant.h

Include

#include "Misc/Variant.h"

Syntax

FVariant & operator=
(
    TArray< uint8 > && InArray
)

Remarks

Assignment operator for byte arrays.

Array values are passed straight through as an optimization. Please

that, if you serialize any complex types into arrays and then store them in FVariant, you will be responsible for ensuring byte ordering if the FVariant gets sent over the network.

Returns

This instance.

Parameters

Parameter

Description

InArray

The byte array to assign.

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