in reply to Re: Writing PDF binary file from stream yields malformed PDF
in thread Writing PDF binary file from stream yields malformed PDF
Thanks!
I've tried it, but it still doesn't work on the special PDF (works for others, not for the problematic one).
I've also applied Anonymous's corrections (thanks!).