Ejemplo n.º 1
0
 static public int WriteBytes(IntPtr l)
 {
     try {
         SLua.ByteArray self = (SLua.ByteArray)checkSelf(l);
         System.Byte[]  a1;
         checkArray(l, 2, out a1);
         self.WriteBytes(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }