getNextOffset() is just in.getNextOffset() here