Skip to main content

human

Function human 

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

0 B, 997 B, 12.1 kB, 41.6 MB, 1.4 GB: one decimal from kB up, in integers, since one {:.1} on an f64 links ~16 kB of float formatting.