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#
最新推荐文章于 2024-01-20 18:45:00 发布