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?

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

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 ...