yansheng.wang

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年6月13日

摘要: public static byte[] Int32ToBytes(int intValue) { byte[] bytes = new byte[4]; bytes[0] = (byte)(intValue & 0x000000FF); bytes[1] = (byte)((intValue & 0x0000FF00) >> 8); bytes[2] = (byte)((intValue & 0x00FF0000) >> 16); bytes... 阅读全文
posted @ 2012-06-13 08:34 小小程序员001 阅读(720) 评论(0) 推荐(0)