Binary search for the fragment containing textIndex. Returns -1 when out of range and fragments.length when textIndex === fullText.length.
textIndex
fragments.length
textIndex === fullText.length
The text to process.
The 0-based text index.
The resolved number.
Binary search for the fragment containing
textIndex. Returns -1 when out of range andfragments.lengthwhentextIndex === fullText.length.