Skip to main content

cut_escaped

Function cut_escaped 

Source
fn cut_escaped(s: &str, max: usize) -> String
Expand description

The longest prefix of s whose JSON-escaped form is at most max bytes.