Units.Data
module Units.Data
to
to(measure: Measure, _, in: DataPrefix) -> String?
Data prefixes select their standard decimal byte unit. They are targets for formatting, so Mega means MB rather than a prefix applied twice to the measure's existing unit.
type DataUnit
Variants
BKBMBGBTBKiBMiBGiBTiB
Implements Unit.
Methods
type DataPrefix
Variants
KiloMegaGiga
extends UnitDefinition
More methods of UnitDefinition, added by this module.
Implements Unit.
extends Measure
More methods of Measure, added by this module.