utf16_byte_len

Function utf16_byte_len 

Source
pub fn utf16_byte_len(s: &str) -> usize
Expand description

Calculate the byte length of a UTF-16 encoded string.