You are viewing a single comment's thread. Return to all comments →
Can you tell me what does the -1 do in the if statement?
If you are still curious about this now, it accounts for 0.
it does what it doos
The range of byte is (2^7) to (2^7)-1. ie -128 to 127