Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: how to read in a binary file and convert it to ascii output

by chas (Priest)
on Nov 02, 2005 at 22:06 UTC ( #505132=note: print w/ replies, xml ) Need Help??


in reply to how to read in a binary file and convert it to ascii output

Depends on what the binary file contains. If it is, for example, an image file then you're not likely to output it as text to display in a reasonable way. If it is an encoding of text in some binary format then some unencoding would be required, but without more details it's hard to say.
chas


Comment on Re: how to read in a binary file and convert it to ascii output
Re: how to read in a binary file and convert it to ascii output
by jonadab (Parson) on Nov 02, 2005 at 22:30 UTC
    If it is, for example, an image file then you're not likely to output it as text to display in a reasonable way

    Sure, just use aalib. HTH.HAND.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-12-26 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls