• Skip a value in the parse (doesn't apply to arrays, just flat), either til the next array end (close bracket) or the next comma.

    Parameters

    • buffer: Uint8Array

      The buffer to read from.

    • cursor: number

      The current read cursor.

    • endCursor: number

      The highest possible cursor to read from.

    Returns number

    The new cursor.

    When the parse syntax is incorrect.