convert_to_bytes_base_2

Function convert_to_bytes_base_2 

Source
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).