Write a formatted string into a given formatter.
Example
use std::fmt::{write, SliceFormatter};
let buf: [u8; 64];
let fmt = SliceFormatter::new(&buf);
let _ = write!(&fmt, "{} + {} = {}", 1, 2, 3);
assert_eq!(fmt.get()[0..9], "1 + 2 = 3");
Run this example