| 180 | namespace { |
| 181 | template <class TStr> |
| 182 | inline void AppendUnicode(TStr& s, wchar32 v) { |
| 183 | char buf[10]; |
| 184 | size_t sz = 0; |
| 185 | |
| 186 | WriteUTF8Char(v, sz, (ui8*)buf); |
| 187 | s.AppendNoAlias(buf, sz); |
| 188 | } |
| 189 | |
| 190 | inline void AppendUnicode(TUtf16String& s, wchar32 v) { |
| 191 | WriteSymbol(v, s); |
no test coverage detected