As naive as this is going to sound, I have to ask it.
I have a stream compressed in LZW encoding. I can decompress a stream provided it is in a numerical format. The below I have extracted from a pdf file stream compressed in LZW.
I'm assuming the below is a text representation of the binary data. I read the compressed stream directly into a text file
(ifstream mystream(myfile.txt, ios::out | ios::binary)
and did not save the text file in any way.
If I can extract the data as I have below, then how do I get it into a numerical form so I can run it through my LZW decompression algorithm? I know some streams are also compresse using ASCII85 but this one isn't. Obviously this is a huge gap in my knowledge but I'm getting there. Was wondering if someone could give me a hint as to what I need to look at here. Thanks.
åBߣán3∟♂åâA☺P₧Te0pT``0ö§♀u
╢;((¿*»ìF│┴╜─@l►¶εÉï╜|èT┴▌»
9¥%F←¥ô ï╞π═µ#V'♂î←╧D↓╝ε[§_▲☼3┘üyP≥p2├
♠‼9ùW_↨∞σFπáéÖ<)m±é≥iö╚i0Éìτü☺nÑj₧♫♠#☻P/)←╬å‼ª─a╓∞↓Nf≤⌐╚╟Γ¼╣G