D
djbitchpimp
I casted an 8 ints to byte types. Some of them come out in the right
format, but when I print them, some come out way bigger than 8 bits.
Here is the string representation of the byte [8] array:
1111111111111111111111110000101 1111111111111111111111111101000 10011
1010100 1111 1010 1111111111111111111111110110100 101
How can I truncate off the extra 1's to just get the last 8 bits of
values [0], [1], and [6]?
format, but when I print them, some come out way bigger than 8 bits.
Here is the string representation of the byte [8] array:
1111111111111111111111110000101 1111111111111111111111111101000 10011
1010100 1111 1010 1111111111111111111111110110100 101
How can I truncate off the extra 1's to just get the last 8 bits of
values [0], [1], and [6]?