Files
UnrealEngineUWP/Engine/Source/Runtime/Core/Private/Serialization
devin doucette 4816001e63 CompactBinary: Added LoadFromCompactBinary as a standardized way to load from compact binary
The intent is that function take a field and an output parameter, with an optional default value:

bool LoadFromCompactBinary(FCbFieldView Field, FTypeName& OutValue, FTypeName Default = {});

Implementations must return true if the field was loaded successfully, and false if any required part of the field was missing or its value had the wrong type or range. The output value must be assigned before the function returns.

#rb Zousar.Shaker

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 20741864 via CL 20743724 via CL 20744635
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v970-20704180)

[CL 20751365 by devin doucette in ue5-main branch]
2022-06-20 23:39:28 -04:00
..