format_bytes

Function format_bytes 

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

Format byte count as a human-readable size string eg: 1_000_000u64 -> “1 MB” this func isolates a library + configuration choice