Parse integers from byte slices.
Provides functions similar to from_str_radix
,
but is faster when parsing directly from byte slices instead of strings.
Supports #![no_std]
.
```rust use btoi::btoi;
asserteq!(Ok(42), btoi(b"42")); asserteq!(Ok(-1000), btoi(b"-1000")); ```
std
feature for #![no_std]
support.#[inline]
.btoi is dual licensed under the Apache 2.0 and MIT license, at your option.