Make findMatchInDataBytes() non-private

This commit refactors the findMatchInDataBytes() method by making it
non-private and consolidating all boundary check logic within the method
itself. This change improves code organization and allows the method to
be used more broadly.

Test: TH
Change-Id: I45273c4ca0cbe8169c80b7196fa57bdbdb5382b6
1 file changed