macro_rules! format_bytes {
    ($($arg: tt)*) => { ... };
}
Expand description

The format macro, but returning Str.

Examples

use bytes_utils::{format_bytes, Str};
let s: Str = format_bytes!("Hello {}", "world");
assert_eq!("Hello world", s);