Changed verifyData() so that it can be called either per-page or per complete transfer