EvEmu
0.8.4
11 September 2021
|
#include <string>
Go to the source code of this file.
Functions | |
std::u16string | utf8to16 (std::string &str) |
std::string | utf16to8 (std::u16string &str) |
std::string utf16to8 | ( | std::u16string & | str | ) |
Convert a UTF16 string to a UTF8 string
str | The UTF16 string. |
Definition at line 309 of file utfUtils.cpp.
References UTFCodeParser::addChar(), and UTFCodeParser::getUTF8().
Referenced by UnmarshalStream::LoadWStringUCS2(), and UnmarshalStream::LoadWStringUCS2Char().
std::u16string utf8to16 | ( | std::string & | str | ) |
Convert a UTF8 string to a UTF16 string
str | The UTF8 string. |
Definition at line 289 of file utfUtils.cpp.
References UTFCodeParser::addChar(), and UTFCodeParser::getUTF16().
Referenced by PasswordModule::GeneratePassHash().