To clarify, what I’m proposing would be an extension to format!, which would work as follows:
format!(b"foo {}", b"bar") == b"foo bar"
format!(b"foo {} {}", 0xAAu8, vec![0xBBu8, 0xCC]) == b"foo \xAA \xBB\xCC"
There isn’t currently a straightforward way to do this because format!("{}", vec![0xFFu8]) produces the string "[255]".