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 byteacter and succeeds if the byteacter is equal to
c.Parses the bytes
s.Parses the bytes
s using cmp to compare each token.Parses carriage return and newline (
&b"\r\n"), returning the newline byteacter.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 byteacter (
b'\n').Parses an octal digit.
Parses a
b' ', b'\t', b'\n' or 'b\'r'.Parses a tab byteacter (
b'\t').Zero-copy parser which reads a range of 0 or more tokens until
a is found.Zero-copy parser which reads a range of 0 or more tokens until
a or b is found.Zero-copy parser which reads a range of 0 or more tokens until
a, ‘b’ or c is found.Parses an uppercase ASCII letter (A–Z).