FVariant::GetBytes

Gets the stored value as a byte array.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/Variant.h"

Syntax

const TArray< uint8 > & GetBytes() const

Remarks

Gets the stored value as a byte array.

This method returns the internal representation of any value as an array of raw bytes. To retrieve values of type TArray use GetValue<TArray>() instead.

Returns

Byte array.

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