38 #include "Coherent/UI/Binding/Binder.h"
45 inline void CoherentBindInternal(Binder* binder, FString& value)
50 inline void CoherentBindInternal(Binder* binder,
const FString& value)
55 inline void CoherentReadInternal(Binder* binder, FString& value)
58 const char* buffer =
nullptr;
59 binder->Read(buffer, size);
61 auto convertedLen = FUTF8ToTCHAR_Convert::ConvertedLength(buffer, size);
62 auto& charArray = value.GetCharArray();
63 charArray.AddZeroed(convertedLen + 1);
65 #if defined (COHERENT_UI_UE4_4_5_SUPPORT)
66 FUTF8ToTCHAR_Convert::Convert(charArray.GetTypedData(), convertedLen, buffer, size);
68 FUTF8ToTCHAR_Convert::Convert(charArray.GetData(), convertedLen, buffer, size);