crystal_doc_search_index_callback({"repository_name":"memory_conversion","body":"# Memory Conversion\n\nQuick and easy conversion between memory values.\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     memory_conversion:\n       github: dscottboggs/memory_conversion\n   ```\n\n2. Run `shards install`\n\n## Usage\n\n```crystal\nrequire \"memory_conversion\"\n\n1.terabyte.to_kilobits\n```\n\n**Please see the [documentation](https://dscottboggs.github.io/memory_conversion/Number.html)**, and the [spec file](https://github.com/dscottboggs/memory_conversion/blob/master/spec/memory_conversion_spec.cr) for a few examples.\n\n## Contributing\n\n1. Fork it (<https://github.com/dscottboggs/memory_conversion/fork>)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Scott Boggs](https://github.com/dscottboggs) - creator and maintainer\n","program":{"html_id":"memory_conversion/toplevel","path":"toplevel.html","kind":"module","full_name":"Top Level Namespace","name":"Top Level Namespace","abstract":false,"superclass":null,"ancestors":[],"locations":[],"repository_name":"memory_conversion","program":true,"enum":false,"alias":false,"aliased":"","const":false,"constants":[],"included_modules":[],"extended_modules":[],"subclasses":[],"including_types":[],"namespace":null,"doc":null,"summary":null,"class_methods":[],"constructors":[],"instance_methods":[],"macros":[],"types":[{"html_id":"memory_conversion/MemoryConversion","path":"MemoryConversion.html","kind":"module","full_name":"MemoryConversion","name":"MemoryConversion","abstract":false,"superclass":null,"ancestors":[],"locations":[],"repository_name":"memory_conversion","program":false,"enum":false,"alias":false,"aliased":"","const":false,"constants":[{"id":"FACTORS","name":"FACTORS","value":"[\"\", \"kilo\", \"Mega\", \"Giga\", \"Tera\", \"Peta\", \"Exa\", \"Zetta\", \"Yotta\"] of String","doc":null,"summary":null},{"id":"VERSION","name":"VERSION","value":"\"0.1.0\"","doc":null,"summary":null}],"included_modules":[],"extended_modules":[],"subclasses":[],"including_types":[],"namespace":null,"doc":null,"summary":null,"class_methods":[],"constructors":[],"instance_methods":[],"macros":[],"types":[{"html_id":"memory_conversion/MemoryConversion/Bits","path":"MemoryConversion/Bits.html","kind":"struct","full_name":"MemoryConversion::Bits","name":"Bits","abstract":false,"superclass":{"html_id":"memory_conversion/Struct","kind":"struct","full_name":"Struct","name":"Struct"},"ancestors":[{"html_id":"memory_conversion/Struct","kind":"struct","full_name":"Struct","name":"Struct"},{"html_id":"memory_conversion/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"memory_conversion/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[],"repository_name":"memory_conversion","program":false,"enum":false,"alias":false,"aliased":"","const":false,"constants":[],"included_modules":[],"extended_modules":[],"subclasses":[],"including_types":[],"namespace":{"html_id":"memory_conversion/MemoryConversion","kind":"module","full_name":"MemoryConversion","name":"MemoryConversion"},"doc":null,"summary":null,"class_methods":[],"constructors":[{"id":"new(value)-class-method","html_id":"new(value)-class-method","name":"new","doc":null,"summary":null,"abstract":false,"args":[{"name":"value","doc":null,"default_value":"","external_name":"value","restriction":""}],"args_string":"(value)","source_link":null,"def":{"name":"new","args":[{"name":"value","doc":null,"default_value":"","external_name":"value","restriction":""}],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"_ = allocate\n_.initialize(value)\nif _.responds_to?(:finalize)\n  ::GC.add_finalizer(_)\nend\n_\n"}}],"instance_methods":[{"id":"to_b_s-instance-method","html_id":"to_b_s-instance-method","name":"to_b_s","doc":"Produce a string representing this bit value like `\"##b\"`.","summary":"<p>Produce a string representing this bit value like <code>\"##b\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_b_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_bits}b\""}},{"id":"to_bit_s-instance-method","html_id":"to_bit_s-instance-method","name":"to_bit_s","doc":"Produce a string representing this bit value like `\"## bits\"`.","summary":"<p>Produce a string representing this bit value like <code>\"## bits\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_bit_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_bits} bits\""}},{"id":"to_bits:BigFloat-instance-method","html_id":"to_bits:BigFloat-instance-method","name":"to_bits","doc":"Convert this number of bits to the equivalent number of\nbits","summary":"<p>Convert this number of bits to the equivalent number of bits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_bits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << 0)"}},{"id":"to_bytes:BigFloat-instance-method","html_id":"to_bytes:BigFloat-instance-method","name":"to_bytes","doc":"Convert this number of bits to the equivalent number of\nbytes","summary":"<p>Convert this number of bits to the equivalent number of bytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_bytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_bits / 8"}},{"id":"to_eb_s-instance-method","html_id":"to_eb_s-instance-method","name":"to_eb_s","doc":"Produce a string representing this bit value like `\"##Eb\"`.","summary":"<p>Produce a string representing this bit value like <code>\"##Eb\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_eb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_exabits}Eb\""}},{"id":"to_exabit_s-instance-method","html_id":"to_exabit_s-instance-method","name":"to_exabit_s","doc":"Produce a string representing this bit value like `\"## Exabits\"`.","summary":"<p>Produce a string representing this bit value like <code>\"## Exabits\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_exabit_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_exabits} Exabits\""}},{"id":"to_exabits:BigFloat-instance-method","html_id":"to_exabits:BigFloat-instance-method","name":"to_exabits","doc":"Convert this number of bits to the equivalent number of\nExabits","summary":"<p>Convert this number of bits to the equivalent number of Exabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_exabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << 6)"}},{"id":"to_exabytes:BigFloat-instance-method","html_id":"to_exabytes:BigFloat-instance-method","name":"to_exabytes","doc":"Convert this number of bits to the equivalent number of\nExabytes","summary":"<p>Convert this number of bits to the equivalent number of Exabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_exabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_exabits / 8"}},{"id":"to_gb_s-instance-method","html_id":"to_gb_s-instance-method","name":"to_gb_s","doc":"Produce a string representing this bit value like `\"##Gb\"`.","summary":"<p>Produce a string representing this bit value like <code>\"##Gb\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_gb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_gigabits}Gb\""}},{"id":"to_gigabit_s-instance-method","html_id":"to_gigabit_s-instance-method","name":"to_gigabit_s","doc":"Produce a string representing this bit value like `\"## Gigabits\"`.","summary":"<p>Produce a string representing this bit value like <code>\"## Gigabits\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_gigabit_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_gigabits} Gigabits\""}},{"id":"to_gigabits:BigFloat-instance-method","html_id":"to_gigabits:BigFloat-instance-method","name":"to_gigabits","doc":"Convert this number of bits to the equivalent number of\nGigabits","summary":"<p>Convert this number of bits to the equivalent number of Gigabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_gigabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << 3)"}},{"id":"to_gigabytes:BigFloat-instance-method","html_id":"to_gigabytes:BigFloat-instance-method","name":"to_gigabytes","doc":"Convert this number of bits to the equivalent number of\nGigabytes","summary":"<p>Convert this number of bits to the equivalent number of Gigabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_gigabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_gigabits / 8"}},{"id":"to_kb_s-instance-method","html_id":"to_kb_s-instance-method","name":"to_kb_s","doc":"Produce a string representing this bit value like `\"##kb\"`.","summary":"<p>Produce a string representing this bit value like <code>\"##kb\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_kb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_kilobits}kb\""}},{"id":"to_kilobit_s-instance-method","html_id":"to_kilobit_s-instance-method","name":"to_kilobit_s","doc":"Produce a string representing this bit value like `\"## kilobits\"`.","summary":"<p>Produce a string representing this bit value like <code>\"## kilobits\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_kilobit_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_kilobits} Kilobits\""}},{"id":"to_kilobits:BigFloat-instance-method","html_id":"to_kilobits:BigFloat-instance-method","name":"to_kilobits","doc":"Convert this number of bits to the equivalent number of\nkilobits","summary":"<p>Convert this number of bits to the equivalent number of kilobits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_kilobits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << 1)"}},{"id":"to_kilobytes:BigFloat-instance-method","html_id":"to_kilobytes:BigFloat-instance-method","name":"to_kilobytes","doc":"Convert this number of bits to the equivalent number of\nkilobytes","summary":"<p>Convert this number of bits to the equivalent number of kilobytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_kilobytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_kilobits / 8"}},{"id":"to_mb_s-instance-method","html_id":"to_mb_s-instance-method","name":"to_mb_s","doc":"Produce a string representing this bit value like `\"##Mb\"`.","summary":"<p>Produce a string representing this bit value like <code>\"##Mb\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_mb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_megabits}Mb\""}},{"id":"to_megabit_s-instance-method","html_id":"to_megabit_s-instance-method","name":"to_megabit_s","doc":"Produce a string representing this bit value like `\"## Megabits\"`.","summary":"<p>Produce a string representing this bit value like <code>\"## Megabits\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_megabit_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_megabits} Megabits\""}},{"id":"to_megabits:BigFloat-instance-method","html_id":"to_megabits:BigFloat-instance-method","name":"to_megabits","doc":"Convert this number of bits to the equivalent number of\nMegabits","summary":"<p>Convert this number of bits to the equivalent number of Megabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_megabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << 2)"}},{"id":"to_megabytes:BigFloat-instance-method","html_id":"to_megabytes:BigFloat-instance-method","name":"to_megabytes","doc":"Convert this number of bits to the equivalent number of\nMegabytes","summary":"<p>Convert this number of bits to the equivalent number of Megabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_megabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_megabits / 8"}},{"id":"to_pb_s-instance-method","html_id":"to_pb_s-instance-method","name":"to_pb_s","doc":"Produce a string representing this bit value like `\"##Pb\"`.","summary":"<p>Produce a string representing this bit value like <code>\"##Pb\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_pb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_petabits}Pb\""}},{"id":"to_petabit_s-instance-method","html_id":"to_petabit_s-instance-method","name":"to_petabit_s","doc":"Produce a string representing this bit value like `\"## Petabits\"`.","summary":"<p>Produce a string representing this bit value like <code>\"## Petabits\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_petabit_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_petabits} Petabits\""}},{"id":"to_petabits:BigFloat-instance-method","html_id":"to_petabits:BigFloat-instance-method","name":"to_petabits","doc":"Convert this number of bits to the equivalent number of\nPetabits","summary":"<p>Convert this number of bits to the equivalent number of Petabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_petabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << 5)"}},{"id":"to_petabytes:BigFloat-instance-method","html_id":"to_petabytes:BigFloat-instance-method","name":"to_petabytes","doc":"Convert this number of bits to the equivalent number of\nPetabytes","summary":"<p>Convert this number of bits to the equivalent number of Petabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_petabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_petabits / 8"}},{"id":"to_s(scale:Symbol)-instance-method","html_id":"to_s(scale:Symbol)-instance-method","name":"to_s","doc":null,"summary":null,"abstract":false,"args":[{"name":"scale","doc":null,"default_value":"","external_name":"scale","restriction":"Symbol"}],"args_string":"(scale : Symbol)","source_link":null,"def":{"name":"to_s","args":[{"name":"scale","doc":null,"default_value":"","external_name":"scale","restriction":"Symbol"}],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"{% if true %}\n      case scale\n        {% for prefix, scale in MemoryConversion::FACTORS %}\n        when {{ prefix.symbolize }} then to_{{ prefix.downcase.id }}bits_s\n        {% end %}\n      else raise \"Invalid scale #{scale}\"\n      end\n    {% end %}"}},{"id":"to_storage_bits:BigFloat-instance-method","html_id":"to_storage_bits:BigFloat-instance-method","name":"to_storage_bits","doc":"Convert this number of bits to the equivalent number of\nbits. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bits to the equivalent number of bits.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_bits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 0)"}},{"id":"to_storage_bytes:BigFloat-instance-method","html_id":"to_storage_bytes:BigFloat-instance-method","name":"to_storage_bytes","doc":"Convert to storage bits and then divide by 8.","summary":"<p>Convert to storage bits and then divide by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_bytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_bits / 8"}},{"id":"to_storage_exabits:BigFloat-instance-method","html_id":"to_storage_exabits:BigFloat-instance-method","name":"to_storage_exabits","doc":"Convert this number of bits to the equivalent number of\nExabits. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bits to the equivalent number of Exabits.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_exabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 6)"}},{"id":"to_storage_exabytes:BigFloat-instance-method","html_id":"to_storage_exabytes:BigFloat-instance-method","name":"to_storage_exabytes","doc":"Convert to storage bits and then divide by 8.","summary":"<p>Convert to storage bits and then divide by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_exabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_exabits / 8"}},{"id":"to_storage_gigabits:BigFloat-instance-method","html_id":"to_storage_gigabits:BigFloat-instance-method","name":"to_storage_gigabits","doc":"Convert this number of bits to the equivalent number of\nGigabits. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bits to the equivalent number of Gigabits.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_gigabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 3)"}},{"id":"to_storage_gigabytes:BigFloat-instance-method","html_id":"to_storage_gigabytes:BigFloat-instance-method","name":"to_storage_gigabytes","doc":"Convert to storage bits and then divide by 8.","summary":"<p>Convert to storage bits and then divide by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_gigabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_gigabits / 8"}},{"id":"to_storage_kilobits:BigFloat-instance-method","html_id":"to_storage_kilobits:BigFloat-instance-method","name":"to_storage_kilobits","doc":"Convert this number of bits to the equivalent number of\nkilobits. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bits to the equivalent number of kilobits.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_kilobits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 1)"}},{"id":"to_storage_kilobytes:BigFloat-instance-method","html_id":"to_storage_kilobytes:BigFloat-instance-method","name":"to_storage_kilobytes","doc":"Convert to storage bits and then divide by 8.","summary":"<p>Convert to storage bits and then divide by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_kilobytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_kilobits / 8"}},{"id":"to_storage_megabits:BigFloat-instance-method","html_id":"to_storage_megabits:BigFloat-instance-method","name":"to_storage_megabits","doc":"Convert this number of bits to the equivalent number of\nMegabits. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bits to the equivalent number of Megabits.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_megabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 2)"}},{"id":"to_storage_megabytes:BigFloat-instance-method","html_id":"to_storage_megabytes:BigFloat-instance-method","name":"to_storage_megabytes","doc":"Convert to storage bits and then divide by 8.","summary":"<p>Convert to storage bits and then divide by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_megabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_megabits / 8"}},{"id":"to_storage_petabits:BigFloat-instance-method","html_id":"to_storage_petabits:BigFloat-instance-method","name":"to_storage_petabits","doc":"Convert this number of bits to the equivalent number of\nPetabits. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bits to the equivalent number of Petabits.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_petabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 5)"}},{"id":"to_storage_petabytes:BigFloat-instance-method","html_id":"to_storage_petabytes:BigFloat-instance-method","name":"to_storage_petabytes","doc":"Convert to storage bits and then divide by 8.","summary":"<p>Convert to storage bits and then divide by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_petabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_petabits / 8"}},{"id":"to_storage_terabits:BigFloat-instance-method","html_id":"to_storage_terabits:BigFloat-instance-method","name":"to_storage_terabits","doc":"Convert this number of bits to the equivalent number of\nTerabits. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bits to the equivalent number of Terabits.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_terabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 4)"}},{"id":"to_storage_terabytes:BigFloat-instance-method","html_id":"to_storage_terabytes:BigFloat-instance-method","name":"to_storage_terabytes","doc":"Convert to storage bits and then divide by 8.","summary":"<p>Convert to storage bits and then divide by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_terabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_terabits / 8"}},{"id":"to_storage_yottabits:BigFloat-instance-method","html_id":"to_storage_yottabits:BigFloat-instance-method","name":"to_storage_yottabits","doc":"Convert this number of bits to the equivalent number of\nYottabits. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bits to the equivalent number of Yottabits.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_yottabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 8)"}},{"id":"to_storage_yottabytes:BigFloat-instance-method","html_id":"to_storage_yottabytes:BigFloat-instance-method","name":"to_storage_yottabytes","doc":"Convert to storage bits and then divide by 8.","summary":"<p>Convert to storage bits and then divide by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_yottabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_yottabits / 8"}},{"id":"to_storage_zettabits:BigFloat-instance-method","html_id":"to_storage_zettabits:BigFloat-instance-method","name":"to_storage_zettabits","doc":"Convert this number of bits to the equivalent number of\nZettabits. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bits to the equivalent number of Zettabits.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_zettabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 7)"}},{"id":"to_storage_zettabytes:BigFloat-instance-method","html_id":"to_storage_zettabytes:BigFloat-instance-method","name":"to_storage_zettabytes","doc":"Convert to storage bits and then divide by 8.","summary":"<p>Convert to storage bits and then divide by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_zettabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_zettabits / 8"}},{"id":"to_tb_s-instance-method","html_id":"to_tb_s-instance-method","name":"to_tb_s","doc":"Produce a string representing this bit value like `\"##Tb\"`.","summary":"<p>Produce a string representing this bit value like <code>\"##Tb\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_tb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_terabits}Tb\""}},{"id":"to_terabit_s-instance-method","html_id":"to_terabit_s-instance-method","name":"to_terabit_s","doc":"Produce a string representing this bit value like `\"## Terabits\"`.","summary":"<p>Produce a string representing this bit value like <code>\"## Terabits\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_terabit_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_terabits} Terabits\""}},{"id":"to_terabits:BigFloat-instance-method","html_id":"to_terabits:BigFloat-instance-method","name":"to_terabits","doc":"Convert this number of bits to the equivalent number of\nTerabits","summary":"<p>Convert this number of bits to the equivalent number of Terabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_terabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << 4)"}},{"id":"to_terabytes:BigFloat-instance-method","html_id":"to_terabytes:BigFloat-instance-method","name":"to_terabytes","doc":"Convert this number of bits to the equivalent number of\nTerabytes","summary":"<p>Convert this number of bits to the equivalent number of Terabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_terabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_terabits / 8"}},{"id":"to_yb_s-instance-method","html_id":"to_yb_s-instance-method","name":"to_yb_s","doc":"Produce a string representing this bit value like `\"##Yb\"`.","summary":"<p>Produce a string representing this bit value like <code>\"##Yb\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_yb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_yottabits}Yb\""}},{"id":"to_yottabit_s-instance-method","html_id":"to_yottabit_s-instance-method","name":"to_yottabit_s","doc":"Produce a string representing this bit value like `\"## Yottabits\"`.","summary":"<p>Produce a string representing this bit value like <code>\"## Yottabits\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_yottabit_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_yottabits} Yottabits\""}},{"id":"to_yottabits:BigFloat-instance-method","html_id":"to_yottabits:BigFloat-instance-method","name":"to_yottabits","doc":"Convert this number of bits to the equivalent number of\nYottabits","summary":"<p>Convert this number of bits to the equivalent number of Yottabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_yottabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << 8)"}},{"id":"to_yottabytes:BigFloat-instance-method","html_id":"to_yottabytes:BigFloat-instance-method","name":"to_yottabytes","doc":"Convert this number of bits to the equivalent number of\nYottabytes","summary":"<p>Convert this number of bits to the equivalent number of Yottabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_yottabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_yottabits / 8"}},{"id":"to_zb_s-instance-method","html_id":"to_zb_s-instance-method","name":"to_zb_s","doc":"Produce a string representing this bit value like `\"##Zb\"`.","summary":"<p>Produce a string representing this bit value like <code>\"##Zb\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_zb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_zettabits}Zb\""}},{"id":"to_zettabit_s-instance-method","html_id":"to_zettabit_s-instance-method","name":"to_zettabit_s","doc":"Produce a string representing this bit value like `\"## Zettabits\"`.","summary":"<p>Produce a string representing this bit value like <code>\"## Zettabits\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_zettabit_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_zettabits} Zettabits\""}},{"id":"to_zettabits:BigFloat-instance-method","html_id":"to_zettabits:BigFloat-instance-method","name":"to_zettabits","doc":"Convert this number of bits to the equivalent number of\nZettabits","summary":"<p>Convert this number of bits to the equivalent number of Zettabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_zettabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << 7)"}},{"id":"to_zettabytes:BigFloat-instance-method","html_id":"to_zettabytes:BigFloat-instance-method","name":"to_zettabytes","doc":"Convert this number of bits to the equivalent number of\nZettabytes","summary":"<p>Convert this number of bits to the equivalent number of Zettabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_zettabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_zettabits / 8"}}],"macros":[{"id":"method_missing(call)-macro","html_id":"method_missing(call)-macro","name":"method_missing","doc":null,"summary":null,"abstract":false,"args":[{"name":"call","doc":null,"default_value":"","external_name":"call","restriction":""}],"args_string":"(call)","source_link":null,"def":{"name":"method_missing","args":[{"name":"call","doc":null,"default_value":"","external_name":"call","restriction":""}],"double_splat":null,"splat_index":null,"block_arg":null,"visibility":"Public","body":"      @value.\n{{ call }}\n\n    \n"}}],"types":[]},{"html_id":"memory_conversion/MemoryConversion/Bytes","path":"MemoryConversion/Bytes.html","kind":"struct","full_name":"MemoryConversion::Bytes","name":"Bytes","abstract":false,"superclass":{"html_id":"memory_conversion/Struct","kind":"struct","full_name":"Struct","name":"Struct"},"ancestors":[{"html_id":"memory_conversion/Struct","kind":"struct","full_name":"Struct","name":"Struct"},{"html_id":"memory_conversion/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"memory_conversion/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[],"repository_name":"memory_conversion","program":false,"enum":false,"alias":false,"aliased":"","const":false,"constants":[],"included_modules":[],"extended_modules":[],"subclasses":[],"including_types":[],"namespace":{"html_id":"memory_conversion/MemoryConversion","kind":"module","full_name":"MemoryConversion","name":"MemoryConversion"},"doc":null,"summary":null,"class_methods":[],"constructors":[{"id":"new(value)-class-method","html_id":"new(value)-class-method","name":"new","doc":null,"summary":null,"abstract":false,"args":[{"name":"value","doc":null,"default_value":"","external_name":"value","restriction":""}],"args_string":"(value)","source_link":null,"def":{"name":"new","args":[{"name":"value","doc":null,"default_value":"","external_name":"value","restriction":""}],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"new(initialized: BigFloat.new(value))"}}],"instance_methods":[{"id":"to_b_s-instance-method","html_id":"to_b_s-instance-method","name":"to_b_s","doc":"Produce a string representing this byte value like `\"##B\"`.","summary":"<p>Produce a string representing this byte value like <code>\"##B\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_b_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_bytes}B\""}},{"id":"to_bits:BigFloat-instance-method","html_id":"to_bits:BigFloat-instance-method","name":"to_bits","doc":"Convert this number of bytes to the equivalent number of\nbits","summary":"<p>Convert this number of bytes to the equivalent number of bits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_bits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_bytes * 8"}},{"id":"to_byte_s-instance-method","html_id":"to_byte_s-instance-method","name":"to_byte_s","doc":"Produce a string representing this byte value like `\"## bytes\"`.","summary":"<p>Produce a string representing this byte value like <code>\"## bytes\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_byte_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_bytes} bytes\""}},{"id":"to_bytes:BigFloat-instance-method","html_id":"to_bytes:BigFloat-instance-method","name":"to_bytes","doc":"Convert this number of bytes to the equivalent number of\nbytes","summary":"<p>Convert this number of bytes to the equivalent number of bytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_bytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << (0 * 10))"}},{"id":"to_eb_s-instance-method","html_id":"to_eb_s-instance-method","name":"to_eb_s","doc":"Produce a string representing this byte value like `\"##EB\"`.","summary":"<p>Produce a string representing this byte value like <code>\"##EB\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_eb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_exabytes}EB\""}},{"id":"to_exabits:BigFloat-instance-method","html_id":"to_exabits:BigFloat-instance-method","name":"to_exabits","doc":"Convert this number of bytes to the equivalent number of\nExabits","summary":"<p>Convert this number of bytes to the equivalent number of Exabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_exabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_exabytes * 8"}},{"id":"to_exabyte_s-instance-method","html_id":"to_exabyte_s-instance-method","name":"to_exabyte_s","doc":"Produce a string representing this byte value like `\"## Exabytes\"`.","summary":"<p>Produce a string representing this byte value like <code>\"## Exabytes\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_exabyte_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_exabytes} Exabytes\""}},{"id":"to_exabytes:BigFloat-instance-method","html_id":"to_exabytes:BigFloat-instance-method","name":"to_exabytes","doc":"Convert this number of bytes to the equivalent number of\nExabytes","summary":"<p>Convert this number of bytes to the equivalent number of Exabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_exabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << (6 * 10))"}},{"id":"to_gb_s-instance-method","html_id":"to_gb_s-instance-method","name":"to_gb_s","doc":"Produce a string representing this byte value like `\"##GB\"`.","summary":"<p>Produce a string representing this byte value like <code>\"##GB\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_gb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_gigabytes}GB\""}},{"id":"to_gigabits:BigFloat-instance-method","html_id":"to_gigabits:BigFloat-instance-method","name":"to_gigabits","doc":"Convert this number of bytes to the equivalent number of\nGigabits","summary":"<p>Convert this number of bytes to the equivalent number of Gigabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_gigabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_gigabytes * 8"}},{"id":"to_gigabyte_s-instance-method","html_id":"to_gigabyte_s-instance-method","name":"to_gigabyte_s","doc":"Produce a string representing this byte value like `\"## Gigabytes\"`.","summary":"<p>Produce a string representing this byte value like <code>\"## Gigabytes\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_gigabyte_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_gigabytes} Gigabytes\""}},{"id":"to_gigabytes:BigFloat-instance-method","html_id":"to_gigabytes:BigFloat-instance-method","name":"to_gigabytes","doc":"Convert this number of bytes to the equivalent number of\nGigabytes","summary":"<p>Convert this number of bytes to the equivalent number of Gigabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_gigabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << (3 * 10))"}},{"id":"to_kb_s-instance-method","html_id":"to_kb_s-instance-method","name":"to_kb_s","doc":"Produce a string representing this byte value like `\"##kB\"`.","summary":"<p>Produce a string representing this byte value like <code>\"##kB\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_kb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_kilobytes}kB\""}},{"id":"to_kilobits:BigFloat-instance-method","html_id":"to_kilobits:BigFloat-instance-method","name":"to_kilobits","doc":"Convert this number of bytes to the equivalent number of\nkilobits","summary":"<p>Convert this number of bytes to the equivalent number of kilobits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_kilobits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_kilobytes * 8"}},{"id":"to_kilobyte_s-instance-method","html_id":"to_kilobyte_s-instance-method","name":"to_kilobyte_s","doc":"Produce a string representing this byte value like `\"## kilobytes\"`.","summary":"<p>Produce a string representing this byte value like <code>\"## kilobytes\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_kilobyte_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_kilobytes} kilobytes\""}},{"id":"to_kilobytes:BigFloat-instance-method","html_id":"to_kilobytes:BigFloat-instance-method","name":"to_kilobytes","doc":"Convert this number of bytes to the equivalent number of\nkilobytes","summary":"<p>Convert this number of bytes to the equivalent number of kilobytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_kilobytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << (1 * 10))"}},{"id":"to_mb_s-instance-method","html_id":"to_mb_s-instance-method","name":"to_mb_s","doc":"Produce a string representing this byte value like `\"##MB\"`.","summary":"<p>Produce a string representing this byte value like <code>\"##MB\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_mb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_megabytes}MB\""}},{"id":"to_megabits:BigFloat-instance-method","html_id":"to_megabits:BigFloat-instance-method","name":"to_megabits","doc":"Convert this number of bytes to the equivalent number of\nMegabits","summary":"<p>Convert this number of bytes to the equivalent number of Megabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_megabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_megabytes * 8"}},{"id":"to_megabyte_s-instance-method","html_id":"to_megabyte_s-instance-method","name":"to_megabyte_s","doc":"Produce a string representing this byte value like `\"## Megabytes\"`.","summary":"<p>Produce a string representing this byte value like <code>\"## Megabytes\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_megabyte_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_megabytes} Megabytes\""}},{"id":"to_megabytes:BigFloat-instance-method","html_id":"to_megabytes:BigFloat-instance-method","name":"to_megabytes","doc":"Convert this number of bytes to the equivalent number of\nMegabytes","summary":"<p>Convert this number of bytes to the equivalent number of Megabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_megabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << (2 * 10))"}},{"id":"to_pb_s-instance-method","html_id":"to_pb_s-instance-method","name":"to_pb_s","doc":"Produce a string representing this byte value like `\"##PB\"`.","summary":"<p>Produce a string representing this byte value like <code>\"##PB\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_pb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_petabytes}PB\""}},{"id":"to_petabits:BigFloat-instance-method","html_id":"to_petabits:BigFloat-instance-method","name":"to_petabits","doc":"Convert this number of bytes to the equivalent number of\nPetabits","summary":"<p>Convert this number of bytes to the equivalent number of Petabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_petabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_petabytes * 8"}},{"id":"to_petabyte_s-instance-method","html_id":"to_petabyte_s-instance-method","name":"to_petabyte_s","doc":"Produce a string representing this byte value like `\"## Petabytes\"`.","summary":"<p>Produce a string representing this byte value like <code>\"## Petabytes\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_petabyte_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_petabytes} Petabytes\""}},{"id":"to_petabytes:BigFloat-instance-method","html_id":"to_petabytes:BigFloat-instance-method","name":"to_petabytes","doc":"Convert this number of bytes to the equivalent number of\nPetabytes","summary":"<p>Convert this number of bytes to the equivalent number of Petabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_petabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << (5 * 10))"}},{"id":"to_s(scale:Symbol?=nil)-instance-method","html_id":"to_s(scale:Symbol?=nil)-instance-method","name":"to_s","doc":"Returns a string representation of this object.\n\nDescendants must usually **not** override this method. Instead,\nthey must override `to_s(io)`, which must append to the given\nIO object.","summary":"<p>Returns a string representation of this object.</p>","abstract":false,"args":[{"name":"scale","doc":null,"default_value":"nil","external_name":"scale","restriction":"Symbol | ::Nil"}],"args_string":"(scale : Symbol? = <span class=\"n\">nil</span>)","source_link":null,"def":{"name":"to_s","args":[{"name":"scale","doc":null,"default_value":"nil","external_name":"scale","restriction":"Symbol | ::Nil"}],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"{% if true %}\n        case scale\n          {% for prefix, scale in MemoryConversion::FACTORS.reject(&.empty?) %}\n          when {{ prefix.id.symbolize }} then to_{{ prefix.downcase.id }}byte_s\n          {% end %}\n        when nil then to_byte_s\n        else raise \"Invalid scale #{scale}\"\n        end\n      {% end %}"}},{"id":"to_storage_bits:BigFloat-instance-method","html_id":"to_storage_bits:BigFloat-instance-method","name":"to_storage_bits","doc":"Convert to storage bytes and then multiply by 8.","summary":"<p>Convert to storage bytes and then multiply by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_bits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_bytes * 8"}},{"id":"to_storage_bytes:BigFloat-instance-method","html_id":"to_storage_bytes:BigFloat-instance-method","name":"to_storage_bytes","doc":"Convert this number of bytes to the equivalent number of\nbytes. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bytes to the equivalent number of bytes.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_bytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 0)"}},{"id":"to_storage_exabits:BigFloat-instance-method","html_id":"to_storage_exabits:BigFloat-instance-method","name":"to_storage_exabits","doc":"Convert to storage bytes and then multiply by 8.","summary":"<p>Convert to storage bytes and then multiply by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_exabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_exabytes * 8"}},{"id":"to_storage_exabytes:BigFloat-instance-method","html_id":"to_storage_exabytes:BigFloat-instance-method","name":"to_storage_exabytes","doc":"Convert this number of bytes to the equivalent number of\nExabytes. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bytes to the equivalent number of Exabytes.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_exabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 6)"}},{"id":"to_storage_gigabits:BigFloat-instance-method","html_id":"to_storage_gigabits:BigFloat-instance-method","name":"to_storage_gigabits","doc":"Convert to storage bytes and then multiply by 8.","summary":"<p>Convert to storage bytes and then multiply by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_gigabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_gigabytes * 8"}},{"id":"to_storage_gigabytes:BigFloat-instance-method","html_id":"to_storage_gigabytes:BigFloat-instance-method","name":"to_storage_gigabytes","doc":"Convert this number of bytes to the equivalent number of\nGigabytes. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bytes to the equivalent number of Gigabytes.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_gigabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 3)"}},{"id":"to_storage_kilobits:BigFloat-instance-method","html_id":"to_storage_kilobits:BigFloat-instance-method","name":"to_storage_kilobits","doc":"Convert to storage bytes and then multiply by 8.","summary":"<p>Convert to storage bytes and then multiply by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_kilobits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_kilobytes * 8"}},{"id":"to_storage_kilobytes:BigFloat-instance-method","html_id":"to_storage_kilobytes:BigFloat-instance-method","name":"to_storage_kilobytes","doc":"Convert this number of bytes to the equivalent number of\nkilobytes. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bytes to the equivalent number of kilobytes.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_kilobytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 1)"}},{"id":"to_storage_megabits:BigFloat-instance-method","html_id":"to_storage_megabits:BigFloat-instance-method","name":"to_storage_megabits","doc":"Convert to storage bytes and then multiply by 8.","summary":"<p>Convert to storage bytes and then multiply by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_megabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_megabytes * 8"}},{"id":"to_storage_megabytes:BigFloat-instance-method","html_id":"to_storage_megabytes:BigFloat-instance-method","name":"to_storage_megabytes","doc":"Convert this number of bytes to the equivalent number of\nMegabytes. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bytes to the equivalent number of Megabytes.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_megabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 2)"}},{"id":"to_storage_petabits:BigFloat-instance-method","html_id":"to_storage_petabits:BigFloat-instance-method","name":"to_storage_petabits","doc":"Convert to storage bytes and then multiply by 8.","summary":"<p>Convert to storage bytes and then multiply by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_petabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_petabytes * 8"}},{"id":"to_storage_petabytes:BigFloat-instance-method","html_id":"to_storage_petabytes:BigFloat-instance-method","name":"to_storage_petabytes","doc":"Convert this number of bytes to the equivalent number of\nPetabytes. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bytes to the equivalent number of Petabytes.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_petabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 5)"}},{"id":"to_storage_terabits:BigFloat-instance-method","html_id":"to_storage_terabits:BigFloat-instance-method","name":"to_storage_terabits","doc":"Convert to storage bytes and then multiply by 8.","summary":"<p>Convert to storage bytes and then multiply by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_terabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_terabytes * 8"}},{"id":"to_storage_terabytes:BigFloat-instance-method","html_id":"to_storage_terabytes:BigFloat-instance-method","name":"to_storage_terabytes","doc":"Convert this number of bytes to the equivalent number of\nTerabytes. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bytes to the equivalent number of Terabytes.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_terabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 4)"}},{"id":"to_storage_yottabits:BigFloat-instance-method","html_id":"to_storage_yottabits:BigFloat-instance-method","name":"to_storage_yottabits","doc":"Convert to storage bytes and then multiply by 8.","summary":"<p>Convert to storage bytes and then multiply by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_yottabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_yottabytes * 8"}},{"id":"to_storage_yottabytes:BigFloat-instance-method","html_id":"to_storage_yottabytes:BigFloat-instance-method","name":"to_storage_yottabytes","doc":"Convert this number of bytes to the equivalent number of\nYottabytes. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bytes to the equivalent number of Yottabytes.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_yottabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 8)"}},{"id":"to_storage_zettabits:BigFloat-instance-method","html_id":"to_storage_zettabits:BigFloat-instance-method","name":"to_storage_zettabits","doc":"Convert to storage bytes and then multiply by 8.","summary":"<p>Convert to storage bytes and then multiply by 8.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_zettabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_storage_zettabytes * 8"}},{"id":"to_storage_zettabytes:BigFloat-instance-method","html_id":"to_storage_zettabytes:BigFloat-instance-method","name":"to_storage_zettabytes","doc":"Convert this number of bytes to the equivalent number of\nZettabytes. This uses the metric used by storage manufacturers\nto inflate their capacity values, by using powers of 10 instead of powers\nof two.","summary":"<p>Convert this number of bytes to the equivalent number of Zettabytes.</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_storage_zettabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(10)) ** 7)"}},{"id":"to_tb_s-instance-method","html_id":"to_tb_s-instance-method","name":"to_tb_s","doc":"Produce a string representing this byte value like `\"##TB\"`.","summary":"<p>Produce a string representing this byte value like <code>\"##TB\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_tb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_terabytes}TB\""}},{"id":"to_terabits:BigFloat-instance-method","html_id":"to_terabits:BigFloat-instance-method","name":"to_terabits","doc":"Convert this number of bytes to the equivalent number of\nTerabits","summary":"<p>Convert this number of bytes to the equivalent number of Terabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_terabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_terabytes * 8"}},{"id":"to_terabyte_s-instance-method","html_id":"to_terabyte_s-instance-method","name":"to_terabyte_s","doc":"Produce a string representing this byte value like `\"## Terabytes\"`.","summary":"<p>Produce a string representing this byte value like <code>\"## Terabytes\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_terabyte_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_terabytes} Terabytes\""}},{"id":"to_terabytes:BigFloat-instance-method","html_id":"to_terabytes:BigFloat-instance-method","name":"to_terabytes","doc":"Convert this number of bytes to the equivalent number of\nTerabytes","summary":"<p>Convert this number of bytes to the equivalent number of Terabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_terabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << (4 * 10))"}},{"id":"to_yb_s-instance-method","html_id":"to_yb_s-instance-method","name":"to_yb_s","doc":"Produce a string representing this byte value like `\"##YB\"`.","summary":"<p>Produce a string representing this byte value like <code>\"##YB\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_yb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_yottabytes}YB\""}},{"id":"to_yottabits:BigFloat-instance-method","html_id":"to_yottabits:BigFloat-instance-method","name":"to_yottabits","doc":"Convert this number of bytes to the equivalent number of\nYottabits","summary":"<p>Convert this number of bytes to the equivalent number of Yottabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_yottabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_yottabytes * 8"}},{"id":"to_yottabyte_s-instance-method","html_id":"to_yottabyte_s-instance-method","name":"to_yottabyte_s","doc":"Produce a string representing this byte value like `\"## Yottabytes\"`.","summary":"<p>Produce a string representing this byte value like <code>\"## Yottabytes\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_yottabyte_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_yottabytes} Yottabytes\""}},{"id":"to_yottabytes:BigFloat-instance-method","html_id":"to_yottabytes:BigFloat-instance-method","name":"to_yottabytes","doc":"Convert this number of bytes to the equivalent number of\nYottabytes","summary":"<p>Convert this number of bytes to the equivalent number of Yottabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_yottabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << (8 * 10))"}},{"id":"to_zb_s-instance-method","html_id":"to_zb_s-instance-method","name":"to_zb_s","doc":"Produce a string representing this byte value like `\"##ZB\"`.","summary":"<p>Produce a string representing this byte value like <code>\"##ZB\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_zb_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_zettabytes}ZB\""}},{"id":"to_zettabits:BigFloat-instance-method","html_id":"to_zettabits:BigFloat-instance-method","name":"to_zettabits","doc":"Convert this number of bytes to the equivalent number of\nZettabits","summary":"<p>Convert this number of bytes to the equivalent number of Zettabits</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_zettabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"to_zettabytes * 8"}},{"id":"to_zettabyte_s-instance-method","html_id":"to_zettabyte_s-instance-method","name":"to_zettabyte_s","doc":"Produce a string representing this byte value like `\"## Zettabytes\"`.","summary":"<p>Produce a string representing this byte value like <code>\"## Zettabytes\"</code>.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"to_zettabyte_s","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"\"#{to_zettabytes} Zettabytes\""}},{"id":"to_zettabytes:BigFloat-instance-method","html_id":"to_zettabytes:BigFloat-instance-method","name":"to_zettabytes","doc":"Convert this number of bytes to the equivalent number of\nZettabytes","summary":"<p>Convert this number of bytes to the equivalent number of Zettabytes</p>","abstract":false,"args":[],"args_string":" : BigFloat","source_link":null,"def":{"name":"to_zettabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"BigFloat","visibility":"Public","body":"self / ((BigInt.new(1)) << (7 * 10))"}}],"macros":[{"id":"method_missing(call)-macro","html_id":"method_missing(call)-macro","name":"method_missing","doc":null,"summary":null,"abstract":false,"args":[{"name":"call","doc":null,"default_value":"","external_name":"call","restriction":""}],"args_string":"(call)","source_link":null,"def":{"name":"method_missing","args":[{"name":"call","doc":null,"default_value":"","external_name":"call","restriction":""}],"double_splat":null,"splat_index":null,"block_arg":null,"visibility":"Public","body":"      @value.\n{{ call }}\n\n    \n"}}],"types":[]}]},{"html_id":"memory_conversion/Number","path":"Number.html","kind":"struct","full_name":"Number","name":"Number","abstract":true,"superclass":{"html_id":"memory_conversion/Value","kind":"struct","full_name":"Value","name":"Value"},"ancestors":[{"html_id":"memory_conversion/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"},{"html_id":"memory_conversion/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"},{"html_id":"memory_conversion/Value","kind":"struct","full_name":"Value","name":"Value"},{"html_id":"memory_conversion/Object","kind":"class","full_name":"Object","name":"Object"}],"locations":[],"repository_name":"memory_conversion","program":false,"enum":false,"alias":false,"aliased":"","const":false,"constants":[],"included_modules":[{"html_id":"memory_conversion/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"},{"html_id":"memory_conversion/Comparable","kind":"module","full_name":"Comparable","name":"Comparable"}],"extended_modules":[],"subclasses":[],"including_types":[],"namespace":null,"doc":"The top-level number type.","summary":"<p>The top-level number type.</p>","class_methods":[],"constructors":[],"instance_methods":[{"id":"bit-instance-method","html_id":"bit-instance-method","name":"bit","doc":"Return a `MemoryConversion::Bits` which has this number of bits.\n\n```\none_bit = 1.bit # => MemoryConversion::Bits(@value=1)\none_bit.to_bits # => 1_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of bits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"bit","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (0 * 10)))"}},{"id":"bits-instance-method","html_id":"bits-instance-method","name":"bits","doc":"Return a `MemoryConversion::Bits` which has this number of bits.\n\n```\none_bit = 1.bit # => MemoryConversion::Bits(@value=1)\none_bit.to_bits # => 1_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of bits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"bits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (0 * 10)))"}},{"id":"byte-instance-method","html_id":"byte-instance-method","name":"byte","doc":"Return a `MemoryConversion::Bytes` which has this number of bytes.\n\n```\none_byte = 1.byte # => MemoryConversion::Bytes(@value=1)\none_byte.to_bytes # => 1_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of bytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"byte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (0 * 10)))"}},{"id":"bytes-instance-method","html_id":"bytes-instance-method","name":"bytes","doc":"Return a `MemoryConversion::Bytes` which has this number of bytes.\n\n```\none_byte = 1.byte # => MemoryConversion::Bytes(@value=1)\none_byte.to_bytes # => 1_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of bytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"bytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (0 * 10)))"}},{"id":"exabit-instance-method","html_id":"exabit-instance-method","name":"exabit","doc":"Return a `MemoryConversion::Bits` which has this number of Exabits.\n\n```\none_exabit = 1.exabit # => MemoryConversion::Bits(@value=0)\none_exabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Exabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"exabit","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (6 * 10)))"}},{"id":"exabits-instance-method","html_id":"exabits-instance-method","name":"exabits","doc":"Return a `MemoryConversion::Bits` which has this number of Exabits.\n\n```\none_exabit = 1.exabit # => MemoryConversion::Bits(@value=0)\none_exabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Exabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"exabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (6 * 10)))"}},{"id":"exabyte-instance-method","html_id":"exabyte-instance-method","name":"exabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Exabytes.\n\n```\none_exabyte = 1.exabyte # => MemoryConversion::Bytes(@value=0)\none_exabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Exabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"exabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (6 * 10)))"}},{"id":"exabytes-instance-method","html_id":"exabytes-instance-method","name":"exabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Exabytes.\n\n```\none_exabyte = 1.exabyte # => MemoryConversion::Bytes(@value=0)\none_exabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Exabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"exabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (6 * 10)))"}},{"id":"gigabit-instance-method","html_id":"gigabit-instance-method","name":"gigabit","doc":"Return a `MemoryConversion::Bits` which has this number of Gigabits.\n\n```\none_gigabit = 1.gigabit # => MemoryConversion::Bits(@value=1073741824)\none_gigabit.to_bits # => 1073741824_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Gigabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"gigabit","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (3 * 10)))"}},{"id":"gigabits-instance-method","html_id":"gigabits-instance-method","name":"gigabits","doc":"Return a `MemoryConversion::Bits` which has this number of Gigabits.\n\n```\none_gigabit = 1.gigabit # => MemoryConversion::Bits(@value=1073741824)\none_gigabit.to_bits # => 1073741824_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Gigabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"gigabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (3 * 10)))"}},{"id":"gigabyte-instance-method","html_id":"gigabyte-instance-method","name":"gigabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Gigabytes.\n\n```\none_gigabyte = 1.gigabyte # => MemoryConversion::Bytes(@value=1073741824)\none_gigabyte.to_bytes # => 1073741824_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Gigabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"gigabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (3 * 10)))"}},{"id":"gigabytes-instance-method","html_id":"gigabytes-instance-method","name":"gigabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Gigabytes.\n\n```\none_gigabyte = 1.gigabyte # => MemoryConversion::Bytes(@value=1073741824)\none_gigabyte.to_bytes # => 1073741824_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Gigabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"gigabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (3 * 10)))"}},{"id":"kilobit-instance-method","html_id":"kilobit-instance-method","name":"kilobit","doc":"Return a `MemoryConversion::Bits` which has this number of kilobits.\n\n```\none_kilobit = 1.kilobit # => MemoryConversion::Bits(@value=1024)\none_kilobit.to_bits # => 1024_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of kilobits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"kilobit","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (1 * 10)))"}},{"id":"kilobits-instance-method","html_id":"kilobits-instance-method","name":"kilobits","doc":"Return a `MemoryConversion::Bits` which has this number of kilobits.\n\n```\none_kilobit = 1.kilobit # => MemoryConversion::Bits(@value=1024)\none_kilobit.to_bits # => 1024_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of kilobits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"kilobits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (1 * 10)))"}},{"id":"kilobyte-instance-method","html_id":"kilobyte-instance-method","name":"kilobyte","doc":"Return a `MemoryConversion::Bytes` which has this number of kilobytes.\n\n```\none_kilobyte = 1.kilobyte # => MemoryConversion::Bytes(@value=1024)\none_kilobyte.to_bytes # => 1024_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of kilobytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"kilobyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (1 * 10)))"}},{"id":"kilobytes-instance-method","html_id":"kilobytes-instance-method","name":"kilobytes","doc":"Return a `MemoryConversion::Bytes` which has this number of kilobytes.\n\n```\none_kilobyte = 1.kilobyte # => MemoryConversion::Bytes(@value=1024)\none_kilobyte.to_bytes # => 1024_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of kilobytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"kilobytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (1 * 10)))"}},{"id":"megabit-instance-method","html_id":"megabit-instance-method","name":"megabit","doc":"Return a `MemoryConversion::Bits` which has this number of Megabits.\n\n```\none_megabit = 1.megabit # => MemoryConversion::Bits(@value=1048576)\none_megabit.to_bits # => 1048576_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Megabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"megabit","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (2 * 10)))"}},{"id":"megabits-instance-method","html_id":"megabits-instance-method","name":"megabits","doc":"Return a `MemoryConversion::Bits` which has this number of Megabits.\n\n```\none_megabit = 1.megabit # => MemoryConversion::Bits(@value=1048576)\none_megabit.to_bits # => 1048576_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Megabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"megabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (2 * 10)))"}},{"id":"megabyte-instance-method","html_id":"megabyte-instance-method","name":"megabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Megabytes.\n\n```\none_megabyte = 1.megabyte # => MemoryConversion::Bytes(@value=1048576)\none_megabyte.to_bytes # => 1048576_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Megabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"megabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (2 * 10)))"}},{"id":"megabytes-instance-method","html_id":"megabytes-instance-method","name":"megabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Megabytes.\n\n```\none_megabyte = 1.megabyte # => MemoryConversion::Bytes(@value=1048576)\none_megabyte.to_bytes # => 1048576_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Megabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"megabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (2 * 10)))"}},{"id":"petabit-instance-method","html_id":"petabit-instance-method","name":"petabit","doc":"Return a `MemoryConversion::Bits` which has this number of Petabits.\n\n```\none_petabit = 1.petabit # => MemoryConversion::Bits(@value=0)\none_petabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Petabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"petabit","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (5 * 10)))"}},{"id":"petabits-instance-method","html_id":"petabits-instance-method","name":"petabits","doc":"Return a `MemoryConversion::Bits` which has this number of Petabits.\n\n```\none_petabit = 1.petabit # => MemoryConversion::Bits(@value=0)\none_petabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Petabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"petabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (5 * 10)))"}},{"id":"petabyte-instance-method","html_id":"petabyte-instance-method","name":"petabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Petabytes.\n\n```\none_petabyte = 1.petabyte # => MemoryConversion::Bytes(@value=0)\none_petabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Petabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"petabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (5 * 10)))"}},{"id":"petabytes-instance-method","html_id":"petabytes-instance-method","name":"petabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Petabytes.\n\n```\none_petabyte = 1.petabyte # => MemoryConversion::Bytes(@value=0)\none_petabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Petabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"petabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (5 * 10)))"}},{"id":"storage_byte-instance-method","html_id":"storage_byte-instance-method","name":"storage_byte","doc":"Return a `MemoryConversion::Bytes` which has this number of bytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_byte = 1.byte # => MemoryConversion::Bytes(@value=1)\none_byte.to_bytes # => 1_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of bytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_byte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 0))"}},{"id":"storage_bytes-instance-method","html_id":"storage_bytes-instance-method","name":"storage_bytes","doc":"Return a `MemoryConversion::Bytes` which has this number of bytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_byte = 1.byte # => MemoryConversion::Bytes(@value=1)\none_byte.to_bytes # => 1_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of bytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_bytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 0))"}},{"id":"storage_exabyte-instance-method","html_id":"storage_exabyte-instance-method","name":"storage_exabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Exabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_exabyte = 1.exabyte # => MemoryConversion::Bytes(@value=1000000)\none_exabyte.to_bytes # => 1000000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Exabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_exabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 6))"}},{"id":"storage_exabytes-instance-method","html_id":"storage_exabytes-instance-method","name":"storage_exabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Exabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_exabyte = 1.exabyte # => MemoryConversion::Bytes(@value=1000000)\none_exabyte.to_bytes # => 1000000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Exabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_exabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 6))"}},{"id":"storage_gigabyte-instance-method","html_id":"storage_gigabyte-instance-method","name":"storage_gigabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Gigabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_gigabyte = 1.gigabyte # => MemoryConversion::Bytes(@value=1000)\none_gigabyte.to_bytes # => 1000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Gigabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_gigabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 3))"}},{"id":"storage_gigabytes-instance-method","html_id":"storage_gigabytes-instance-method","name":"storage_gigabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Gigabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_gigabyte = 1.gigabyte # => MemoryConversion::Bytes(@value=1000)\none_gigabyte.to_bytes # => 1000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Gigabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_gigabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 3))"}},{"id":"storage_kilobyte-instance-method","html_id":"storage_kilobyte-instance-method","name":"storage_kilobyte","doc":"Return a `MemoryConversion::Bytes` which has this number of kilobytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_kilobyte = 1.kilobyte # => MemoryConversion::Bytes(@value=10)\none_kilobyte.to_bytes # => 10_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of kilobytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_kilobyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 1))"}},{"id":"storage_kilobytes-instance-method","html_id":"storage_kilobytes-instance-method","name":"storage_kilobytes","doc":"Return a `MemoryConversion::Bytes` which has this number of kilobytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_kilobyte = 1.kilobyte # => MemoryConversion::Bytes(@value=10)\none_kilobyte.to_bytes # => 10_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of kilobytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_kilobytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 1))"}},{"id":"storage_megabyte-instance-method","html_id":"storage_megabyte-instance-method","name":"storage_megabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Megabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_megabyte = 1.megabyte # => MemoryConversion::Bytes(@value=100)\none_megabyte.to_bytes # => 100_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Megabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_megabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 2))"}},{"id":"storage_megabytes-instance-method","html_id":"storage_megabytes-instance-method","name":"storage_megabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Megabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_megabyte = 1.megabyte # => MemoryConversion::Bytes(@value=100)\none_megabyte.to_bytes # => 100_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Megabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_megabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 2))"}},{"id":"storage_petabyte-instance-method","html_id":"storage_petabyte-instance-method","name":"storage_petabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Petabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_petabyte = 1.petabyte # => MemoryConversion::Bytes(@value=100000)\none_petabyte.to_bytes # => 100000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Petabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_petabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 5))"}},{"id":"storage_petabytes-instance-method","html_id":"storage_petabytes-instance-method","name":"storage_petabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Petabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_petabyte = 1.petabyte # => MemoryConversion::Bytes(@value=100000)\none_petabyte.to_bytes # => 100000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Petabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_petabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 5))"}},{"id":"storage_terabyte-instance-method","html_id":"storage_terabyte-instance-method","name":"storage_terabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Terabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_terabyte = 1.terabyte # => MemoryConversion::Bytes(@value=10000)\none_terabyte.to_bytes # => 10000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Terabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_terabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 4))"}},{"id":"storage_terabytes-instance-method","html_id":"storage_terabytes-instance-method","name":"storage_terabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Terabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_terabyte = 1.terabyte # => MemoryConversion::Bytes(@value=10000)\none_terabyte.to_bytes # => 10000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Terabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_terabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 4))"}},{"id":"storage_yottabyte-instance-method","html_id":"storage_yottabyte-instance-method","name":"storage_yottabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Yottabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_yottabyte = 1.yottabyte # => MemoryConversion::Bytes(@value=100000000)\none_yottabyte.to_bytes # => 100000000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Yottabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_yottabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 8))"}},{"id":"storage_yottabytes-instance-method","html_id":"storage_yottabytes-instance-method","name":"storage_yottabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Yottabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_yottabyte = 1.yottabyte # => MemoryConversion::Bytes(@value=100000000)\none_yottabyte.to_bytes # => 100000000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Yottabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_yottabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 8))"}},{"id":"storage_zettabyte-instance-method","html_id":"storage_zettabyte-instance-method","name":"storage_zettabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Zettabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_zettabyte = 1.zettabyte # => MemoryConversion::Bytes(@value=10000000)\none_zettabyte.to_bytes # => 10000000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Zettabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_zettabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 7))"}},{"id":"storage_zettabytes-instance-method","html_id":"storage_zettabytes-instance-method","name":"storage_zettabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Zettabytes,\nas measured by storage manufacturers (i.e. powers of 10).\n\n```\none_zettabyte = 1.zettabyte # => MemoryConversion::Bytes(@value=10000000)\none_zettabyte.to_bytes # => 10000000_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Zettabytes, as measured by storage manufacturers (i.e.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"storage_zettabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(10)) ** 7))"}},{"id":"terabit-instance-method","html_id":"terabit-instance-method","name":"terabit","doc":"Return a `MemoryConversion::Bits` which has this number of Terabits.\n\n```\none_terabit = 1.terabit # => MemoryConversion::Bits(@value=0)\none_terabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Terabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"terabit","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (4 * 10)))"}},{"id":"terabits-instance-method","html_id":"terabits-instance-method","name":"terabits","doc":"Return a `MemoryConversion::Bits` which has this number of Terabits.\n\n```\none_terabit = 1.terabit # => MemoryConversion::Bits(@value=0)\none_terabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Terabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"terabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (4 * 10)))"}},{"id":"terabyte-instance-method","html_id":"terabyte-instance-method","name":"terabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Terabytes.\n\n```\none_terabyte = 1.terabyte # => MemoryConversion::Bytes(@value=0)\none_terabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Terabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"terabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (4 * 10)))"}},{"id":"terabytes-instance-method","html_id":"terabytes-instance-method","name":"terabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Terabytes.\n\n```\none_terabyte = 1.terabyte # => MemoryConversion::Bytes(@value=0)\none_terabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Terabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"terabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (4 * 10)))"}},{"id":"yottabit-instance-method","html_id":"yottabit-instance-method","name":"yottabit","doc":"Return a `MemoryConversion::Bits` which has this number of Yottabits.\n\n```\none_yottabit = 1.yottabit # => MemoryConversion::Bits(@value=0)\none_yottabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Yottabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"yottabit","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (8 * 10)))"}},{"id":"yottabits-instance-method","html_id":"yottabits-instance-method","name":"yottabits","doc":"Return a `MemoryConversion::Bits` which has this number of Yottabits.\n\n```\none_yottabit = 1.yottabit # => MemoryConversion::Bits(@value=0)\none_yottabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Yottabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"yottabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (8 * 10)))"}},{"id":"yottabyte-instance-method","html_id":"yottabyte-instance-method","name":"yottabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Yottabytes.\n\n```\none_yottabyte = 1.yottabyte # => MemoryConversion::Bytes(@value=0)\none_yottabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Yottabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"yottabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (8 * 10)))"}},{"id":"yottabytes-instance-method","html_id":"yottabytes-instance-method","name":"yottabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Yottabytes.\n\n```\none_yottabyte = 1.yottabyte # => MemoryConversion::Bytes(@value=0)\none_yottabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Yottabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"yottabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (8 * 10)))"}},{"id":"zettabit-instance-method","html_id":"zettabit-instance-method","name":"zettabit","doc":"Return a `MemoryConversion::Bits` which has this number of Zettabits.\n\n```\none_zettabit = 1.zettabit # => MemoryConversion::Bits(@value=0)\none_zettabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Zettabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"zettabit","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (7 * 10)))"}},{"id":"zettabits-instance-method","html_id":"zettabits-instance-method","name":"zettabits","doc":"Return a `MemoryConversion::Bits` which has this number of Zettabits.\n\n```\none_zettabit = 1.zettabit # => MemoryConversion::Bits(@value=0)\none_zettabit.to_bits # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bits.html\">MemoryConversion::Bits</a></code> which has this number of Zettabits.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"zettabits","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bits.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (7 * 10)))"}},{"id":"zettabyte-instance-method","html_id":"zettabyte-instance-method","name":"zettabyte","doc":"Return a `MemoryConversion::Bytes` which has this number of Zettabytes.\n\n```\none_zettabyte = 1.zettabyte # => MemoryConversion::Bytes(@value=0)\none_zettabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Zettabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"zettabyte","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (7 * 10)))"}},{"id":"zettabytes-instance-method","html_id":"zettabytes-instance-method","name":"zettabytes","doc":"Return a `MemoryConversion::Bytes` which has this number of Zettabytes.\n\n```\none_zettabyte = 1.zettabyte # => MemoryConversion::Bytes(@value=0)\none_zettabyte.to_bytes # => 0_f64\n```","summary":"<p>Return a <code><a href=\"MemoryConversion/Bytes.html\">MemoryConversion::Bytes</a></code> which has this number of Zettabytes.</p>","abstract":false,"args":[],"args_string":"","source_link":null,"def":{"name":"zettabytes","args":[],"double_splat":null,"splat_index":null,"yields":null,"block_arg":null,"return_type":"","visibility":"Public","body":"MemoryConversion::Bytes.new(initialized: (BigFloat.new(self)) * ((BigInt.new(1)) << (7 * 10)))"}}],"macros":[],"types":[]}]}})