In JAVA, int type is cast to byte type.
Because the byte type of java only accounts for one byte, that is, the eighth power of 2, the value range is 0~ 127, 128 overflows, as 0, 129 is 1, and so on. So the value of 257 converted into bytes is: 257-128-128 =1323 converted into bytes: 323- 128- 128=67.