Skip to main content

format_output

Function format_output 

Source
fn format_output(bytes: Vec<u8>, cap: u64) -> String
Expand description

Shared output formatter: if we accumulated more than MAX_OUTPUT bytes, the stream was truncated — append a notice.