What I want to do in my current situation;
It was more of a method of reading a file that contained both binary and text-only, rather than learning the pdf file structure. This is the first time I have encountered such a situation. Normally, the files would be either text or directly binary. Both are mixed here.
%PDF-1.7
4 0 obj
(Identity)
endobj
5 0 obj
(Adobe)
endobj
8 0 obj
<<
/Filter /FlateDecode
/Length 45603
/Length1 103528
/Type /Stream
>>
stream
xœì½|”Uö7~îó<S2%™ôI’Iïô–À„$tHL$š6@HB@l`WDEE,°Šem€†¢PAe]ö¶êZ±¬ŠmÑuWɼß{ŸgB&€ëoß÷÷û¼ïÿŸ¹ÜsÎíç{ι…IBŒˆÂ r—TNülÁ¶EÄVì&ŠÛ=¹¤tÒÂıg¾M´u
...
endstream
like this
Still, thank you very much for your help. It was very important for me to even come this far. Respects.