Skip to main content

Module size

Module size 

Source
Expand description

Byte counts as a person reads them, in binary units with the short labels, so they match what Explorer says about the same file.

ConstantsΒ§

GB πŸ”’
KB πŸ”’
MB πŸ”’

FunctionsΒ§

human
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.
human_progress
12.4 / 41.6 MB, both in the total’s unit so they compare at a glance; an unknown (zero) total shows only what arrived.
tenths πŸ”’
bytes / divisor as a whole part and one decimal digit, rounded half up as {:.1} did.
unit_for πŸ”’