Byte - what exactly is it?
I thought a byte was a value that contained 8 binary digits, e.g., 100111001 Why then are we saying a byte can take values from 0 - 255. I'm a bit confused.
Steven Parker171,047 Points
The "0 - 255" spec is the decimal equivalent of the binary values. For unsigned values,
00000000 is the smallest binary byte value, which is 0 in decimal; and
11111111 is the largest, which is 255 in decimal.
This was a lot of help. Thank you.