日期:2014-05-17 浏览次数:20845 次
string hexstr = "0048A4BD"; int i = Convert.ToInt32(hexstr, 16);
string s = "4760765"; byte[] bs = BitConverter.GetBytes(int.Parse(s)).Reverse().ToArray();