Module combine::byte [] [src]

Module containing parsers specialized on byte streams.

Modules

num

Parsers for decoding numbers in big-endian or little-endian order.

Structs

AlphaNum
Bytes
BytesCmp
CrLf
Digit
HexDigit
Letter
Lower
Newline
OctDigit
Space
Spaces
Tab
Upper

Functions

alpha_num

Parses either an ASCII alphabet letter or digit (a–z, A–Z, 0–9).

byte

Parses a byteacter and succeeds if the byteacter is equal to c.

bytes

Parses the bytes s.

bytes_cmp

Parses the bytes s using cmp to compare each token.

crlf

Parses carriage return and newline (&b"\r\n"), returning the newline byteacter.

digit

Parses a base-10 digit (0–9).

hex_digit

Parses an ASCII hexdecimal digit (accepts both uppercase and lowercase).

letter

Parses an ASCII alphabet letter (a–z, A–Z).

lower

Parses an lowercase ASCII letter (a–z).

newline

Parses a newline byteacter (b'\n').

oct_digit

Parses an octal digit.

space

Parses a b' ', b'\t', b'\n' or 'b\'r'.

spaces

Skips over space zero or more times

tab

Parses a tab byteacter (b'\t').

upper

Parses an uppercase ASCII letter (A–Z).