[BangPypers] binary file unpacking

Noufal Ibrahim noufal at gmail.com
Tue Jun 1 09:34:35 CEST 2010


On Tue, Jun 1, 2010 at 12:57 PM, murugadoss <murugadoss2884 at gmail.com> wrote:
[..]
> Can anyone please tell me, the way to unpack the binay data from the file.

It would depend on what is in the file. You need to know exactly
what's in there and how it's packed to 'unpack' it. If a file has, for
example, a 4 byte header, you can unpack it into four one byte
characters or a single four byte integer.

-- 
~noufal
http://nibrahim.net.in


More information about the BangPypers mailing list