Function html5ever::tendril::encoding_rs::mem::str_latin1_up_to

source ยท
pub fn str_latin1_up_to(buffer: &str) -> usize
Expand description

Returns the index of first byte that starts a non-Latin1 byte sequence, or the length of the string if there are none.