Skip to main content

format_bytes

Function format_bytes 

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

Format bytes into a human-readable string using binary units (e.g., “1.0 GiB”).