int整数和byte[]数组互相转换

BitConverter.GetBytes(Parameter);//将指定的数据转换为字节数组。
BitConverter.ToUInt32(buf, index);//返回由字节数组中指定位置的四个字节转换来的 32 位无符号整数。

posted on 2004-08-26 16:11  b28  阅读(633)  评论(1)    收藏  举报

导航