Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FVariant > GetValue
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/Variant.h |
Include | #include "Misc/Variant.h" |
template<>
TArray< uint8 > GetValue&40;&41; const
Remarks
Gets the stored value for byte arrays.
Array values are passed straight through as an optimization. Please note 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 send over the network.
To retrieve any value as an array of serialized bytes, use GetBytes() instead. The byte array.