mz_repr::strconv

Function parse_int16

Source
pub fn parse_int16(s: &str) -> Result<i16, ParseError>
Expand description

Parses an i16 from s.

Valid values are whatever the std::str::FromStr implementation on i16 accepts, plus leading and trailing whitespace.