Converts a quantity of pebibytes to bytes.
(size: V)
| 148 | |
| 149 | /// Converts a quantity of pebibytes to bytes. |
| 150 | pub fn pib<V: Into<u64>>(size: V) -> u64 { |
| 151 | size.into() * PIB |
| 152 | } |
| 153 | |
| 154 | /// Converts a quantity of exabytes to bytes. |
| 155 | pub fn eb<V: Into<u64>>(size: V) -> u64 { |