Lioncash 9d33122197 string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), CodeToUTF8() and UTF8ToUTF16()
There's no need to perform the resize separately here, since the
constructor allows presizing the buffer.

Also move the empty string check before the construction of the string
to make the early out more straightforward.
2018-07-22 16:39:21 -04:00
..
2016-03-13 04:54:23 +01:00
2018-07-07 14:17:44 +02:00
2018-04-13 23:48:22 -04:00
2018-07-07 13:59:18 +02:00
2016-12-05 19:09:16 +01:00