0
点赞
收藏
分享

微信扫一扫

public static void DWord2Byte(byte[] to, int toIndex, long from) {

weipeng2k 2022-08-01 阅读 45

public static void DWord2Byte(byte[] to, int toIndex, long from) {

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

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

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

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

}

举报

相关推荐

0 条评论