How to initialize SafeString objects from char* using createSafeStringFromCharPtr