btoi

Parse integers from byte slices.

Build Status crates.io

Introduction

Provides functions similar to from_str_radix, but is faster when parsing directly from byte slices instead of strings.

```rust use btoi::btoi;

asserteq!(Ok(42), btoi(b"42")); asserteq!(Ok(-1000), btoi(b"-1000")); ```

Documentation

Read the documentation

Changelog

License

btoi is dual licensed under the Apache 2.0 and MIT license, at your option.