Unit

abstract class Unit : UnitBase

Memory units.

Inheritors

Types

Link copied to clipboard

Memory expressed in bytes.

Link copied to clipboard

Memory expressed in gibibytes (1GiB = 1024MiB).

Link copied to clipboard

Memory expressed in kibibytes (1KiB = 1024B).

Link copied to clipboard

Memory expressed in mebibytes (1MiB = 1024KiB).

Properties

Link copied to clipboard
open override val factor: Long

The conversion factor from the internal representation of the quantity to the unit.

Link copied to clipboard
open override val name: String

The name of the unit.