MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / Utf8ToUtf16

Method Utf8ToUtf16

LuaSTGPlus/UnicodeStringEncoding.cpp:275–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275std::wstring LuaSTGPlus::Utf8ToUtf16(const char* p)
276{
277 wstring tRet;
278 tRet.reserve(128);
279 Convert<Utf8Decoder, Utf16Encoder, wchar_t>(p, tRet);
280 return tRet;
281}
282
283std::string LuaSTGPlus::Utf16ToUtf8(const wchar_t* p)
284{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected