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