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
...
Of course, byte_reader
supports no std environment.
use Reader;
Operations
remaining
read_while
,read_until
next
,next_if
peek
,peek2
,peek3
advance_by
,unwind_by
consume
,consume_oneof
skip_while
,skip_whitespace
Features
"location"
Enable tracking reader's location, line and column (1-origin), in the input bytes.
"text"
Some utility methods for text-parsing are availableļ¼
read_quoted_by
read_uint
,read_int
read_camel
,read_snake
,read_kebab
License
byte_reader
is licensed under the MIT License (LICENSE or https://opensource.org/licenses/MIT).