As the title says, why do I need an int to store a byte & byte
operation. For example,
byte a = -128;
byte d = -0x7f;
byte b = a & d; // <-- error - can't convert from int to byte
I think 8bit & 8bit = 8bit
Is that wrong?
As the title says, why do I need an int to store a byte & byte
operation. For example,
byte a = -128;
byte d = -0x7f;
byte b = a & d; // <-- error - can't convert from int to byte
I think 8bit & 8bit = 8bit
Is that wrong?