Skip to main content

format_bytes

Function format_bytes 

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

Format a byte count into a human-readable string (e.g. “1.5 GB”).