private Int64 BytesToInt64 (byte[] sourceBytes)
{
if (null==sourceBytes)
{
throw new ArgumentNullException();
}
Int64 temp = new Int64();
byte tempByte;
for (int i = 0; i < 8; i++)
{
tempByte = sourceBytes[i];
temp += (tempByte & 0xFFFFFFFFFFFF) << (8 * i);
}
return temp;
}
字节数组转换为int64,