add constructors and shift operator overload

This commit is contained in:
2019-03-07 21:44:00 +01:00
parent 3e16341cf2
commit bf82505de4
2 changed files with 50 additions and 4 deletions

View File

@@ -270,7 +270,7 @@ void BinaryStreamWriter::wwstring(std::wstring s)
{
wu32(s.size());
std::wstring_convert<std::codecvt_utf16<wchar_t, 0x10ffff>> converter;
wstring(converter.to_bytes(s));
wstring_raw(converter.to_bytes(s));
}
void BinaryStreamWriter::wwstring_raw(std::wstring s)