Skip to main content

parse_bytes

Function parse_bytes 

Source
pub fn parse_bytes(input: &str) -> Result<u64, UnitError>
Expand description

Parses “13G”, “500M”, “1.5GiB”, “2GB”, “4096”.