static public int ReadUChar(IntPtr l) { try { SLua.ByteArray self = (SLua.ByteArray)checkSelf(l); var ret = self.ReadUChar(); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }