摘要: 1、 将字节数组转化为数值public static int ConvertBytesToInt(byte[] arrByte, int offset){ return BitConverter.ToInt32(arrByte, offset);}2、 将数值转化为字节数组第二个参数设置是不是需要把得到的字节数组反转,因为Windows操作系统中整形的高低位是反转转之后保存的。public sta... 阅读全文
posted @ 2007-06-15 09:40 妖居 阅读(5150) 评论(1) 推荐(0) 编辑