If I have an byte value 00101011
and I want to represent it as int value I have: 00000000000000000000000000101011
, what seems to be clear for me. Bu I have problem with byte value 11010100
which as int is represented by 11111111111111111111111111010100
. I don't know where it came from. Can someone explain me the idea of extension byte value to int?