Word8 package:bytesmith
Parse a decimal-encoded 8-bit word. If the number is larger than 255,
this parser fails.
Parse exactly two ASCII-encoded characters, interpretting them as the
hexadecimal encoding of a 8-bit number. Note that this rejects a
sequence such as A, requiring 0A instead. This is
insensitive to case.
Parse a hexadecimal-encoded 8-bit word. If the number is larger than
255, this parser fails. This allows leading zeroes and is insensitive
to case. For example, 00A, 0a and A would
all be accepted as the same number.