std
::
core
::
string
::
conv
utf16len_for_utf8
fn
usz
utf16len_for_utf8
(
String
utf8
)
Calculate the UTF16 length required to encode a UTF8 array.
Parameters