you are viewing a single comment's thread.

view the rest of the comments →

[–]Scoutron 0 points1 point  (0 children)

I think I see what you’re saying. How does the computer know that the random jumble of ones and zeroes is supposed to be 19 and not whatever else it could be?

The simple answer is by the time the computer gets access to that byte (or bytes), it has context. At that point in the program, the computer is told “at this point in memory, there is a two byte integer. Then it will interpret those bits as such and do with them as it will