Skip to main content

parse_bytes

Function parse_bytes 

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

Parse a byte size string to bytes.

ยงErrors

Returns an error if the string cannot be parsed.