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 -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -