Skip to main content

fmt_bytes

Function fmt_bytes 

Source
pub fn fmt_bytes(n: u64) -> String
Expand description

3.1G, 812M, 12K, 900B — one decimal above 10 units, none below.