pub fn bytes(n: u64) -> String
512 B, 1.50 KiB, 12.3 MiB: two decimals below ten, one above.
512 B
1.50 KiB
12.3 MiB
The ladder runs to EiB so no input can widen an aligned column: u64::MAX in TiB would be fifteen characters.
u64::MAX