现在的位置: 首页 > 综合 > 正文

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

2013年12月06日 ⁄ 综合 ⁄ 共 184字 ⁄ 字号 评论关闭

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);
 }

抱歉!评论已关闭.