I have to cast the first two octets from int to byte but not the other octets. Why?

前端 未结 0 1460
余生分开走
余生分开走 2021-01-02 09:46
byte[] ipAddr = new byte[] {(byte) 142, (byte) 250,68,46};

I am getting to know the various java net functions and I have to cast the first two octe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题