Word32 package:bytesmith
Parse a LEB-128-encoded number. If the number is larger than
0xFFFFFFFF, fails with the provided error.
Parse an array of big-endian unsigned 32-bit words.
Parse an array of little-endian unsigned 32-bit words.
Convert a
Word# parser to a
Word32 parser. Precondition:
the argument parser only returns words less than 4294967296.
Parse a decimal-encoded 32-bit word. If the number is larger than
4294967295, this parser fails.
Parse exactly eight ASCII-encoded characters, interpreting them as the
hexadecimal encoding of a 32-bit number. Note that this rejects a
sequence such as BC5A9, requiring 000BC5A9 instead.
This is insensitive to case.