DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
InternalStringConvert.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
namespace
DotNetDupe
{
6
namespace
System
{
7
namespace
Internal
{
8
class
StringConvertInternal
{
9
public
:
10
static
std::string
WCharToUtf8
(
const
wchar_t
* pWStr);
11
static
std::wstring
Utf8ToWChar
(
const
char
* pUtf8Str);
12
};
13
14
inline
std::string
WCharToUtf8
(
const
wchar_t
* pWStr) {
15
return
StringConvertInternal::WCharToUtf8
(pWStr);
16
}
17
18
inline
std::wstring
Utf8ToWChar
(
const
char
* pUtf8Str) {
19
return
StringConvertInternal::Utf8ToWChar
(pUtf8Str);
20
}
21
}
22
}
23
}
DotNetDupe::System::Internal::StringConvertInternal
Definition
InternalStringConvert.h:8
DotNetDupe::System::Internal::StringConvertInternal::Utf8ToWChar
static std::wstring Utf8ToWChar(const char *pUtf8Str)
Definition
InternalStringConvert.cpp:33
DotNetDupe::System::Internal::StringConvertInternal::WCharToUtf8
static std::string WCharToUtf8(const wchar_t *pWStr)
Definition
InternalStringConvert.cpp:12
DotNetDupe::System::Internal
Definition
Action.h:12
DotNetDupe::System::Internal::WCharToUtf8
std::string WCharToUtf8(const wchar_t *pWStr)
Definition
InternalStringConvert.h:14
DotNetDupe::System::Internal::Utf8ToWChar
std::wstring Utf8ToWChar(const char *pUtf8Str)
Definition
InternalStringConvert.h:18
DotNetDupe::System
Definition
Action.h:11
DotNetDupe
Definition
IServiceCollection.h:7
DotNetDupe
InternalStringConvert.h
Generated by
1.18.0