static public int WriteByte(IntPtr l) { try { SLua.ByteArray self = (SLua.ByteArray)checkSelf(l); System.Byte a1; checkType(l, 2, out a1); self.WriteByte(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }