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