Skip to main content

format_bytes

Function format_bytes 

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

Formats a byte count into a human-readable string (e.g. “1.24 MiB”).