• Extract a STEP an array (iterable set of indices to array values to extract)

    Parameters

    • buffer: Uint8Array

      The buffer to extract it from.

    • cursor: number

      The position in the buffer to try and extract it from.

    • endCursor: number

      The last position accessible for this read in the buffer.

    Returns number

    Returns a negative number on termination/error matching the values in IncermentalParseEndState, or the new cursor if there is a value in the token.