220221222223224225226227
int pos = file.length() - size; file.seek(pos); String str = readString(1024); int idx = str.lastIndexOf("startxref"); if (idx < 0) throw new InvalidPdfException(MessageLocalization.getComposedMessage("pdf.startxref.not.found")); return pos + idx; }