Skip to main content

format_bytes

Function format_bytes 

Source
pub fn format_bytes(n: u64) -> String
Expand description

Human-readable byte size (e.g. “1.2 MiB”, “456 KiB”).