in reply to unpack in incrementing variables
00110000 is 48, and that's the ASCII code for '0'. That's the explanation for your first line, the rest are the same, and the last line represents two characters: '1' and '0'. So that's expected with the code you have.
|
|---|