Parse a step hex value out to a binary value with the number of bits.
The input buffer to match against.
The cursor to test the match against.
The end point to look at in the buffer.
The extracted value or undefined.
Match hex data, with a C style prefix of 0x or 0X.
The input buffer to match against.
The cursor to test the match against.
The end point to look at in the buffer.
The end of the match or undefined if none found.
Match hex data, with a STEP style
The input buffer to match against.
The cursor to test the match against.
The end point to look at in the buffer.
The end of the match or undefined if none found.
Match unprefixed hex data.
The input buffer to match against.
The cursor to test the match against.
The end point to look at in the buffer.
The end of the match or undefined if none found.
DFA based parser to match an hex number, plain, C or STEP.