0
点赞
收藏
分享

微信扫一扫

public static void Word2Byte(byte[] to, int toIndex, short from) {

那小那小 2022-08-01 阅读 37

public static void Word2Byte(byte[] to, int toIndex, short from) {

to[toIndex] = (byte) (from >> 8);

to[toIndex + 1] = (byte) (from);

}

举报

相关推荐

0 条评论