Skip to main content

append_truncation_marker

Function append_truncation_marker 

Source
pub fn append_truncation_marker(
    output: &mut String,
    marker: &str,
    maximum_bytes: usize,
)
Expand description

Append bounded UTF-8 text without splitting characters.