How to understand int cast bytes in JAVA
Int is 32 bits, 4 bytes, 8 bits, 1 byte \x0d\int is converted into the first 3 bytes of byte, that is, 24 bits are directly truncated, leaving the last bit \ x0d \ so266-(000000000000) (00000001). = = 000 1 0/0 =1* 2+1* 2 =10 \ x0d \ If1represents a negative number.