
Decoding Binary Messages: What Computers Actually See When You Type
I have a weird hobby. Sometimes when I am bored, I will mentally decode the binary representation of short English words. The word "Hi" is 01001000 01101001 . The word "OK" is 01001111 01001011 . I know this is not normal, but it started from a very practical place: I was reading raw network packet captures and needed to quickly identify where the ASCII payload started in a stream of binary data. Being able to translate between binary and human-readable text is not a party trick. It is a fundamental skill for understanding how digital communication works at every level. From Keypress to Binary When you press the letter "A" on your keyboard, here is what actually happens: The keyboard controller detects the keypress and sends a scan code (a hardware-specific binary code) to the computer via USB. The operating system's keyboard driver translates the scan code into a key code. The application receives the key code and maps it to a character based on the current keyboard layout and locale.
Continue reading on Dev.to Webdev
Opens in a new tab




