pub fn byte() -> SingleByteExpand description
Returns a pattern that will match any single byte in the input
use bparse::{Pattern, byte};
assert_eq!(byte().eval(&[1, 2, 3]), Some(1));pub fn byte() -> SingleByteReturns a pattern that will match any single byte in the input
use bparse::{Pattern, byte};
assert_eq!(byte().eval(&[1, 2, 3]), Some(1));