struct MemoryConversion::Bits
- MemoryConversion::Bits
- Struct
- Value
- Object
Defined in:
Constructors
Instance Method Summary
-
#to_b_s
Produce a string representing this bit value like
"##b"
. -
#to_bit_s
Produce a string representing this bit value like
"## bits"
. -
#to_bits : BigFloat
Convert this number of bits to the equivalent number of bits
-
#to_bytes : BigFloat
Convert this number of bits to the equivalent number of bytes
-
#to_eb_s
Produce a string representing this bit value like
"##Eb"
. -
#to_exabit_s
Produce a string representing this bit value like
"## Exabits"
. -
#to_exabits : BigFloat
Convert this number of bits to the equivalent number of Exabits
-
#to_exabytes : BigFloat
Convert this number of bits to the equivalent number of Exabytes
-
#to_gb_s
Produce a string representing this bit value like
"##Gb"
. -
#to_gigabit_s
Produce a string representing this bit value like
"## Gigabits"
. -
#to_gigabits : BigFloat
Convert this number of bits to the equivalent number of Gigabits
-
#to_gigabytes : BigFloat
Convert this number of bits to the equivalent number of Gigabytes
-
#to_kb_s
Produce a string representing this bit value like
"##kb"
. -
#to_kilobit_s
Produce a string representing this bit value like
"## kilobits"
. -
#to_kilobits : BigFloat
Convert this number of bits to the equivalent number of kilobits
-
#to_kilobytes : BigFloat
Convert this number of bits to the equivalent number of kilobytes
-
#to_mb_s
Produce a string representing this bit value like
"##Mb"
. -
#to_megabit_s
Produce a string representing this bit value like
"## Megabits"
. -
#to_megabits : BigFloat
Convert this number of bits to the equivalent number of Megabits
-
#to_megabytes : BigFloat
Convert this number of bits to the equivalent number of Megabytes
-
#to_pb_s
Produce a string representing this bit value like
"##Pb"
. -
#to_petabit_s
Produce a string representing this bit value like
"## Petabits"
. -
#to_petabits : BigFloat
Convert this number of bits to the equivalent number of Petabits
-
#to_petabytes : BigFloat
Convert this number of bits to the equivalent number of Petabytes
- #to_s(scale : Symbol)
-
#to_storage_bits : BigFloat
Convert this number of bits to the equivalent number of bits.
-
#to_storage_bytes : BigFloat
Convert to storage bits and then divide by 8.
-
#to_storage_exabits : BigFloat
Convert this number of bits to the equivalent number of Exabits.
-
#to_storage_exabytes : BigFloat
Convert to storage bits and then divide by 8.
-
#to_storage_gigabits : BigFloat
Convert this number of bits to the equivalent number of Gigabits.
-
#to_storage_gigabytes : BigFloat
Convert to storage bits and then divide by 8.
-
#to_storage_kilobits : BigFloat
Convert this number of bits to the equivalent number of kilobits.
-
#to_storage_kilobytes : BigFloat
Convert to storage bits and then divide by 8.
-
#to_storage_megabits : BigFloat
Convert this number of bits to the equivalent number of Megabits.
-
#to_storage_megabytes : BigFloat
Convert to storage bits and then divide by 8.
-
#to_storage_petabits : BigFloat
Convert this number of bits to the equivalent number of Petabits.
-
#to_storage_petabytes : BigFloat
Convert to storage bits and then divide by 8.
-
#to_storage_terabits : BigFloat
Convert this number of bits to the equivalent number of Terabits.
-
#to_storage_terabytes : BigFloat
Convert to storage bits and then divide by 8.
-
#to_storage_yottabits : BigFloat
Convert this number of bits to the equivalent number of Yottabits.
-
#to_storage_yottabytes : BigFloat
Convert to storage bits and then divide by 8.
-
#to_storage_zettabits : BigFloat
Convert this number of bits to the equivalent number of Zettabits.
-
#to_storage_zettabytes : BigFloat
Convert to storage bits and then divide by 8.
-
#to_tb_s
Produce a string representing this bit value like
"##Tb"
. -
#to_terabit_s
Produce a string representing this bit value like
"## Terabits"
. -
#to_terabits : BigFloat
Convert this number of bits to the equivalent number of Terabits
-
#to_terabytes : BigFloat
Convert this number of bits to the equivalent number of Terabytes
-
#to_yb_s
Produce a string representing this bit value like
"##Yb"
. -
#to_yottabit_s
Produce a string representing this bit value like
"## Yottabits"
. -
#to_yottabits : BigFloat
Convert this number of bits to the equivalent number of Yottabits
-
#to_yottabytes : BigFloat
Convert this number of bits to the equivalent number of Yottabytes
-
#to_zb_s
Produce a string representing this bit value like
"##Zb"
. -
#to_zettabit_s
Produce a string representing this bit value like
"## Zettabits"
. -
#to_zettabits : BigFloat
Convert this number of bits to the equivalent number of Zettabits
-
#to_zettabytes : BigFloat
Convert this number of bits to the equivalent number of Zettabytes
Macro Summary
Constructor Detail
Instance Method Detail
Convert this number of bits to the equivalent number of bits. This uses the metric used by storage manufacturers to inflate their capacity values, by using powers of 10 instead of powers of two.
Convert this number of bits to the equivalent number of Exabits. This uses the metric used by storage manufacturers to inflate their capacity values, by using powers of 10 instead of powers of two.
Convert this number of bits to the equivalent number of Gigabits. This uses the metric used by storage manufacturers to inflate their capacity values, by using powers of 10 instead of powers of two.
Convert this number of bits to the equivalent number of kilobits. This uses the metric used by storage manufacturers to inflate their capacity values, by using powers of 10 instead of powers of two.
Convert this number of bits to the equivalent number of Megabits. This uses the metric used by storage manufacturers to inflate their capacity values, by using powers of 10 instead of powers of two.
Convert this number of bits to the equivalent number of Petabits. This uses the metric used by storage manufacturers to inflate their capacity values, by using powers of 10 instead of powers of two.
Convert this number of bits to the equivalent number of Terabits. This uses the metric used by storage manufacturers to inflate their capacity values, by using powers of 10 instead of powers of two.
Convert this number of bits to the equivalent number of Yottabits. This uses the metric used by storage manufacturers to inflate their capacity values, by using powers of 10 instead of powers of two.
Convert this number of bits to the equivalent number of Zettabits. This uses the metric used by storage manufacturers to inflate their capacity values, by using powers of 10 instead of powers of two.