Expand description
Module containing parsers specialized on byte streams.
Modules
- Parsers for decoding numbers in big-endian or little-endian order.
Structs
Functions
- Parses either an ASCII alphabet letter or digit (a–z, A–Z, 0–9).
- Parses a byte and succeeds if the byte is equal to
c. - Parses the bytes
s. - Parses the bytes
susingcmpto compare each token. - Parses carriage return and newline (
&b"\r\n"), returning the newline byte. - Parses a base-10 digit (0–9).
- Parses an ASCII hexdecimal digit (accepts both uppercase and lowercase).
- Parses an ASCII alphabet letter (a–z, A–Z).
- Parses an lowercase ASCII letter (a–z).
- Parses a newline byte (
b'\n'). - Parses an octal digit.
- Parses a
b' ',b'\t',b'\n'or'b\'r'. - Skips over
spacezero or more times - Parses a tab byte (
b'\t'). - Zero-copy parser which reads a range of 0 or more tokens until
ais found. - Zero-copy parser which reads a range of 0 or more tokens until
aorbis found. - Zero-copy parser which reads a range of 0 or more tokens until
a, ‘b’ orcis found. - Zero-copy parser which reads a range of 0 or more tokens until
needleis found. - Parses an uppercase ASCII letter (A–Z).