Expand description
§bstr_parse
Adds the ability to parse numbers out of &[u8]s. Like so:
use bstr_parse::*;
let text: &[u8] = b"1234";
let num: u32 = text.parse().unwrap();
assert_eq!(num, 1234);Structs§
- Parse
IntError - An error which can be returned when parsing an integer.
Enums§
- IntError
Kind - Enum to store the various types of errors that can cause parsing an integer to fail.
Traits§
- BStr
Parse - An extension trait for
parse. - FromB
Str - Parse a value from a string
- FromB
StrRadix - An extension trait for
from_bstr_radix.