ow do I write the value of an FString to an unsigned char array?
I’m trying to do something like:
FString unrealString = ustr;
unsigned char str[8];
unsigned char[] convertedFString = someConversion(ustr);
memcpy(str, &convertedFString, sizeof(str));
What casting or converting is necessary to convert the FString into an unsigned char array?