fmt_to_buf

Function fmt_to_buf 

Source
pub fn fmt_to_buf<'a>(
    buf: &'a mut [u8],
    arg: Arguments<'_>,
) -> Result<&'a str, Error>
Expand description

Formats data using format_args! (arg argument) and writes it to a byte buffer buf.