int i=5;
byte iByte = System.Convert.ToByte(i);
int oldI = System.Convert.ToInt32(iByte);
byte[] iBy = System.BitConverter.GetBytes(i);
int newI = System.BitConverter.ToInt32(iBy,0);
int/byte/byte[]转换 c#
最新推荐文章于 2020-12-28 20:53:30 发布