Function lexical_core::atoi::atoi8_slice
source · Expand description
Unchecked parser for a string-to-number conversion using Rust slices.
Returns the parsed value, ignoring any trailing invalid digits, and explicitly wrapping on arithmetic overflow.
radix- Radix for the number parsing (normally 10).bytes- Slice containing a numeric string.
Panics
If the radix feature is enabled, panics if radix is not in
the range [2, 36]. If the radix feature is not enabled,
panics if radix != 10.