Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: I'm looking for the faster way to convert char 2 Bin and Bin 2 char (8bits)

by eg (Friar)
on Jan 26, 2001 at 00:32 UTC ( [id://54349]=note: print w/replies, xml ) Need Help??


in reply to I'm looking for the faster way to convert char 2 Bin and Bin 2 char (8bits)

If you want a string of 0's and 1's, use pack and unpack with the template "B*" (descending) or "b*" (ascending).

Is that what you're looking for?

Replies are listed 'Best First'.
Re: Re: I'm looking for the faster way to convert char 2 Bin and Bin 2 char (8bits)
by DarkGoth (Acolyte) on Jan 26, 2001 at 13:23 UTC
    Ok, that's right ;) thanx.
    That was so easy in fact ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-03-28 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found