• Extracts an inline element and returns its cursor, or none if it can't be found.

    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 | undefined

    The index address of the start of the inline element, or undefined if one can't be found.