how to read struct from binary file??

hi

i have this file want to read it source code help plz

https://www.mediafire.com/?7a9649gz29efa94
You need to know what is in the file in order for you to be able to read it. A 'bin' file can be anything.

Do you know what this file is supposed to be?
I know what inside the file but I can't analys it
I dump this file from serial flash chip by machine
Let me rephrase.

A file is just a series of numbers. I open the file in a hex editor and I see this:

http://imgur.com/jmTzN54

Those numbers mean nothing to me without context. It is impossible to read the file in any meaningful way without knowing what all those numbers mean.

"a dump from a serial flash chip" does not help. You need to be very specific about what format the file is.
I dump this file from reciever with jitag and I want analysis to extract some information .
This file written by c++ and given reciever I dumping flash reciever and giving me like binary.
None of that tells me how the contents of the file are formatted.

Let me rephrase that again.....

The first 4 bytes of the file are:

1F 8B 08 00


What do those numbers mean?
What do they represent?
These numbers told that file is gzip compressed.
...or first entry in the file is integer 529205248
...or it is float 5.88820247239747220080463563363E-20
These numbers told that file is gzip compressed.


Are you sure?

I tried giving the file a .gz extension and opened it in an archiver (7zip) and it was unable to read the file.


You could try decompressing it on your own (you could skip over the 10 byte header and treat the rest as DEFLATE'd data -- just run it through zlib or something to decompress it). Although if 7zip can't read the data, I wouldn't hold out much hope.
This is Complete file and really i want decompress it.

https://www.mediafire.com/?v2ttyfoity88rs4
Topic archived. No new replies allowed.