Hello Guys,
i run into a problem (caused by SAP) with some '
\0' after the '
%%EOF' tag in the pdf.
The problem occures exactly in the
Code:
Parser.cs
in the method
Code:
ReadTrailer()
.
There the trailer is searched within a fixed range from the "real" file end.
I think about more solutions to avoid the error 'Unexpected Token' with this solutions:
- extend from
130 to
x (not the best way)
- count the '
\0' at the end and add to
130 (i also dont really like, but the better way)
What would you suggest me to do?
and is there a reason for the hardcoded "
130 byte from the end" method, what i dont know?
why not search for the '
startxref' within the whole document?
Thanks in advance!
BR ToniM