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?
In reply to Re: I'm looking for the faster way to convert char 2 Bin and Bin 2 char (8bits)
by eg
in thread I'm looking for the faster way to convert char 2 Bin and Bin 2 char (8bits)
by DarkGoth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |