public static MyUint64 Uint64(LuaInteger64 uint64Helper) { MyUint64 myUnit64 = new MyUint64(); ulong longValue = uint64Helper.ToUInt64(); uint high = (uint)(longValue >> 32); uint low = (uint)(longValue - ((ulong)(high) << 32)); myUnit64.High = high; myUnit64.Low = low; return(myUnit64); }
public static string ULongTostring(LuaInteger64 uint64Helper) { return(uint64Helper.ToUInt64().ToString()); }
public static ulong ULong(LuaInteger64 uint64Helper) { return(uint64Helper.ToUInt64()); }