Skip to main content

process_format_string

Function process_format_string 

Source
pub fn process_format_string(format: &str, args: &[&str]) -> Vec<u8> 
Expand description

Process a printf format string with the given arguments, returning raw bytes.

The format string repeats if there are more arguments than one pass consumes. Processing stops immediately when \c is encountered (in the format string itself or inside a %b argument).