in reply to 'parsing' a binary file?
00: 04 00 FF FF 0D 55 6E 74 69 74 6C 65 64 20 44 65 ..ÿÿ.Untitled De 10: 63 6B 6C 8A 76 3D DF 16 04 00 00 00 00 00 00 00 cklŠv=ß......... 20: A8 07 27 01 00 00 00 00 00 00 00 00 15 00 02 00 ¨.'............. 30: 04 00 14 3C 6A 66 45 59 6F 3F 56 51 5F 52 57 56 ...<jfEYo?VQ_RWV 40: 4F 43 43 4C 3E 72 5A 00 00 00 00 00 00 00 A8 07 OCCL>rZ.......¨. 50: 27 01 00 00 00 00 00 00 00 00 15 00 '...........
Apart from NAME it is hard to see any correlation with the input text.
If you can get some documentation about the binary file format then you will be able to read and write similar files using unpack and pack.
Otherwise, you will spend long lonely nights, like me, staring into a hex editor, wondering what this has to do with programming in Perl. ;-)
--
John.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: 'parsing' a binary file?
by BUU (Prior) on May 30, 2002 at 23:55 UTC | |
by Popcorn Dave (Abbot) on May 31, 2002 at 00:11 UTC | |
by jmcnamara (Monsignor) on May 31, 2002 at 00:02 UTC | |
|