[][src]Function piet::util::count_utf16

pub fn count_utf16(s: &str) -> usize

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