コード例 #1
0
 static int writeInt64(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         KBEngine.MemoryStream obj = (KBEngine.MemoryStream)ToLua.CheckObject <KBEngine.MemoryStream>(L, 1);
         long arg0 = LuaDLL.tolua_checkint64(L, 2);
         obj.writeInt64(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
コード例 #2
0
 public void writeInt64(Int64 v)
 {
     checkStream(8);
     stream.writeInt64(v);
 }