Module bytes

Source
Expand description

Parsers recognizing bytes streams

Modules§

complete
Parsers recognizing bytes streams, complete input version
streaming
Parsers recognizing bytes streams, streaming version

Structs§

Escaped
Parser implementation for escaped
EscapedTransform
Parser implementation for escaped_transform
SplitPosition
Parser wrapper for split_at_position
SplitPosition1
Parser wrapper for split_at_position1
Tag
Tag implementation
TagNoCase
Case insensitive Tag implementation
Take
Parser implementation for take
TakeUntil
Parser implementation for take_until
TakeUntil1
Parser implementation for take_until1
TakeWhileMN
Parser implementation for take_while_m_n

Functions§

escaped
Matches a byte string with escaped characters.
escaped_transform
Matches a byte string with escaped characters.
is_a
Returns the longest slice of the matches the pattern.
is_not
Parse till certain characters are met.
tag
Recognizes a pattern.
tag_no_case
Recognizes a case insensitive pattern.
take
Returns an input slice containing the first N input elements (Input[..N]).
take_till
Returns the longest input slice (if any) till a predicate is met.
take_till1
Returns the longest (at least 1) input slice till a predicate is met.
take_until
Returns the input slice up to the first occurrence of the pattern.
take_until1
Returns the non empty input slice up to the first occurrence of the pattern.
take_while
Returns the longest input slice (if any) that matches the predicate.
take_while1
Returns the longest (at least 1) input slice that matches the predicate.
take_while_m_n
Returns the longest (m <= len <= n) input slice that matches the predicate.