Skip to main content

format_size

Function format_size 

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

Format a byte count into a human-readable string (e.g., “4.2 MB”).