Skip to main content

truncate_utf8_bytes

Function truncate_utf8_bytes 

Source
pub fn truncate_utf8_bytes(input: &str, max_bytes: usize) -> String