26 #ifndef NVNEURAL_WINDOWSSTRINGHELPERS_H 
   27 #define NVNEURAL_WINDOWSSTRINGHELPERS_H 
   31 namespace nvneural { 
namespace str {
 
   38     const wchar_t* 
utf16Data(
const std::u16string& stringUtf16);
 
std::u16string utf16FromUtf8(const char *pStringUtf8)
Converts a UTF-8 string to UTF-16.
Definition: WindowsStringHelpers.cpp:68
 
const wchar_t * utf16Data(const std::u16string &stringUtf16)
Returns the contents of a std::u16string as a wchar_t*.
Definition: WindowsStringHelpers.cpp:32
 
std::string utf8FromUtf16(const std::u16string &stringUtf16)
Converts a UTF-16 string to UTF-8.
Definition: WindowsStringHelpers.cpp:37