Newbie question:
I have a buffer of data generated by decompressing a zlib compressed FILE, that includes a file header, some array data and a bitmap image. Now that I have the buffer in memory, how can I access each of the individual elements.
The header, for example, makes up the first 8 bytes of the buffer but I can't figure out how to extract these into my header variable (a struct). Any suggestions?