pub fn convert_to_bytes_base_2(string: &str) -> Result<u128, ConversionError>
Expand description
Like convert_to_bytes
but forces the units to be treated as base 2 units (multiples of 1024).
pub fn convert_to_bytes_base_2(string: &str) -> Result<u128, ConversionError>
Like convert_to_bytes
but forces the units to be treated as base 2 units (multiples of 1024).