靠,原来是byte Array,这个好像很简单的呀
int s = 100;
byte[] shi = System.BitConverter.GetBytes(s);
int sh = System.BitConverter.ToInt32(shi,0);
靠,原来是byte Array,这个好像很简单的呀
int s = 100;
byte[] shi = System.BitConverter.GetBytes(s);
int sh = System.BitConverter.ToInt32(shi,0);
转载于:https://www.cnblogs.com/vmyspace/archive/2012/03/26/2418543.html