Use case
Following situation:
I want to read and parse some input, but it's not so large-scale parsing task, so I'd like to avoid adding a heavyweight crate like nom or nom8 to my
dependencies
...
use Reader;
Operations
advance_by
,unwind_by
next
,next_if
peek
,peek2
,peek3
consume
,consume_oneof
skip_while
,skip_whitespace
read_while
read_uint
,read_int
read_string
,read_string_unchecked
read_camel
,read_snake
,read_kebab
Features
"location"
You can track the reader's parsing location ( line and column ) in the input bytes.
/* enable "location" feature */
use Reader;
License
byte_reader
is licensed under the MIT License (LICENSE or https://opensource.org/licenses/MIT).