Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Result<u64, String>
Expand description

Parses a byte-size string.

ยงErrors

If the unit is unknown or the total overflows a u64.