First of all: Im aware of the fact that Java doesnt know any (un)signess
My question concerns the following situation:
Imagine you have an int i = -1 // ( == 0b1111111_11111111_11111111_11111111).
Now I want to "convert" this in a long representing the byte value, e.g in this concrete case: long l = 0xFFFFFFFF // ( == 0b1111111_11111111_11111111_11111111).
My question is how one can obtain l from i in the above example.