Function mutf8::mutf8_len[][src]

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

Given a string slice, this function returns how many bytes in MUTF-8 are required to encode the string slice.