Skip to main content

format_bytes

Function format_bytes 

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

Formats a byte count the way file managers do (820 B, 12 KB, 1.4 MB).