Memory
A quantity describing memory size. (for example, 16 kilobytes.)
Types
Functions
Expresses the size of memory in gibibytes (1GiB = 1024MiB).
Expresses the size of memory in gigabytes (1GB = 1024MB).
Expresses the size of memory in kibibytes (1KiB = 1024B).
Expresses the size of memory in kilobytes (1KB = 1024B).
Expresses the size of memory in mebibytes (1MiB = 1024KiB).
Expresses the size of memory in megabytes (1MB = 1024KB).
Expresses the size of memory in bytes (rounded).
Expresses the size of memory in whole gibibytes (1GiB = 1024MiB, rounded).
Expresses the size of memory in gigabytes (1GB = 1024MB, rounded).
Expresses the size of memory in whole kibibytes (1KiB = 1024B, rounded).
Expresses the size of memory in kilobytes (1KB = 1024B, rounded).
Expresses the size of memory in whole mebibytes (1MiB = 1024KiB, rounded).
Expresses the size of memory in megabytes (1MB = 1024KB, rounded).
Creates a new instance with the provided rawValue.
Returns a new instance with the value from this
as negative.
Inherited functions
Returns a FormattedQuantity representation of the value from this
in the given unit.