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

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

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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

Replies are listed 'Best First'.
Re: how to read in a binary file and convert it to ascii output
by jonadab (Parson) on Nov 02, 2005 at 17: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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://505132]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.