Converts a quantity of tebibytes to bytes.
(size: V)
| 138 | |
| 139 | /// Converts a quantity of tebibytes to bytes. |
| 140 | pub fn tib<V: Into<u64>>(size: V) -> u64 { |
| 141 | size.into() * TIB |
| 142 | } |
| 143 | |
| 144 | /// Converts a quantity of petabytes to bytes. |
| 145 | pub fn pb<V: Into<u64>>(size: V) -> u64 { |