Using logical bitwise operators to convert ASCII to binary -


how and, or, not or xor used convert 7-bit ascii code numeric character 7-bit pure binary representation of number?

code and 11112

you have take 4 lowest significant bits of ascii code.

please note single ascii character can represent digits 0 9 4 output bits enough represent resulting number.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -