Converts a quantity of gigabytes to bytes.
(size: V)
| 123 | |
| 124 | /// Converts a quantity of gigabytes to bytes. |
| 125 | pub fn gb<V: Into<u64>>(size: V) -> u64 { |
| 126 | size.into() * GB |
| 127 | } |
| 128 | |
| 129 | /// Converts a quantity of gibibytes to bytes. |
| 130 | pub fn gib<V: Into<u64>>(size: V) -> u64 { |
no outgoing calls