Skip to main content

gb_to_bytes

Function gb_to_bytes 

Source
pub fn gb_to_bytes(gb: f64) -> Result<u64>
Expand description

Converts a decimal GB value to bytes, rejecting anything that is not a finite non-negative number that fits in a u64.