Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: understanding file type

by nikosv (Deacon)
on Jun 10, 2009 at 08:01 UTC ( [id://770237]=note: print w/replies, xml ) Need Help??


in reply to understanding file type

binary files have a unique identifier embedded into the header of the file.eg a PDF file starts with '%PDF-1.3' use a Hex editor and look at the header of the file, or programmatically read the first few bytes from the header and identify the file format.basically look at the documentation of the format

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://770237]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-16 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found