/Engine/Source/Runtime/CoreUObject/Public/Serialization/DerivedData.h
The string is stored as a pointer to the start of the null-terminated string which is preceded by a 4-byte reference count and a 4-byte size.
template<typename CharType> class TSharedString