• Parse a step hex value out to a binary value with the number of bits.

    Parameters

    • input: Uint8Array

      The input buffer to match against.

    • cursor: number

      The cursor to test the match against.

    • endCursor: number

      The end point to look at in the buffer.

    Returns undefined | [Uint8Array, number]

    The extracted value or undefined.