欢迎光临今时比装修网! 登录 免费注册
置顶回答
你好 int转byta数组转换方式有一下几种:intBytes = (byte) (x 24); intBytes = (byte) (x 16); intBytes = (byte) (x 8); intBytes = (byte) (x 0);
卜典丽 2017-07-04 12:00
1个回答
秦涵韵 2017-07-04 12:00
intBytes = (byte) (x 24); intBytes = (byte) (x 16); intBytes = (byte) (x 8); intBytes = (byte) (x 0); b3对应intBytes: public static int makeInt(byte b3, byte b2, byte b1, byte b0) { return (int) ((((b3 0xff)
其他相识问题