pub fn render_arguments<'a>(buf: &'a mut [u8], args: Arguments<'_>) -> &'a [u8]
For some reason, there seems to be no existing method to easily render fmt::Arguments in a pre-allocated byte array.
That is what this does.