BinaryPrefix enum
This is not the same as a metric prefix.
- Inheritance
- Implemented types
- Available extensions
Values
- none → const BinaryPrefix
-
No prefix
factor is 1
- kibi → const BinaryPrefix
-
Kibibytes (
KiB
)factor is 1 << 10
- mebi → const BinaryPrefix
-
Mebibytes (
MiB
)factor is 1 << 20
- gibi → const BinaryPrefix
-
Gibibytes (
GiB
)factor is 1 << 30
- tebi → const BinaryPrefix
-
Tebibytes (
TiB
)factor is 1 << 40
- pebi → const BinaryPrefix
-
Pebibytes (
PiB
)factor is 1 << 50
- exbi → const BinaryPrefix
-
Exbibytes (
EiB
)factor is 1 << 60
- zebi → const BinaryPrefix
-
Zebibytes (
ZiB
)factor is 1 << 70
- yobi → const BinaryPrefix
-
Yobibytes (
YiB
)factor is 1 << 80
- robi → const BinaryPrefix
-
Robibytes (
RiB
)factor is 1 << 90
- quebi → const BinaryPrefix
-
Quebibytes (
QiB
)factor is 1 << 100
Properties
- factor → BigInt
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol → String
-
no setter
Methods
-
compareTo(
BinaryPrefix other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
BinaryPrefix> - A constant List of the values in this enum, in order of their declaration.