Function mutf8::len

source · []
pub fn 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.