• Match an unsigned integer and return the updated cursor position or undefined if no match is found

    Parameters

    • input: Uint8Array
    • 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 | undefined

    The reference express ID of the start of the inline element, or undefined if one can't be found.