Function piet::util::count_utf16

source ·
pub fn count_utf16(s: &str) -> usize
Expand description

Counts the number of utf-16 code units in the given string. from xi-editor