Skip to main content

format_size

Function format_size 

Source
pub fn format_size(bytes: u64) -> String
Expand description

Format a byte count as a short human-readable size (512 B, 1.5 MiB, …).