static public unsafe long Int64FromLE (byte [] data, int index)
{
if (data == null)
throw new ArgumentNullException ("data");
if (data.Length - index < 8)
throw new ArgumentException ("index");
if (index < 0)
throw new ArgumentException ("index");
long ret;
fixed (byte *src = &data[index]){
PutBytesLE ((byte *) &ret, src, 8);
}
return ret;
}