在建一个BYTE数组.
循环写一遍
Byte[] p=System.BitConverter.GetBytes(42);
Byte[] p1=new Byte[p.Length];
for(int i=0;i<p.Length;i++)
{
    p1[p.Length-i-1]=p[i];
}