Skip to main content

bytes

Function bytes 

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

17 B, 512 kB, 42.0 MB, 1.2 GB: decimal multiples with SI prefix symbols (lower-case k for kilo; BIPM SI Brochure, 9th ed., Table 7), one decimal below 100.