Skip to main content

cut_bytes

Function cut_bytes 

Source
fn cut_bytes(text: &str, bytes: usize) -> String
Expand description

The first bytes bytes of a text, cut on a character’s edge.