xdrEncodeLong() публичный Метод

Encodes (aka "serializes") a long (which is called a "hyper" in XDR babble and is 64 bits wide) and write it down this XDR stream.
Encodes (aka "serializes") a long (which is called a "hyper" in XDR babble and is 64 bits wide) and write it down this XDR stream.
if an ONC/RPC error occurs. if an I/O error occurs.
public xdrEncodeLong ( long value ) : void
value long Long value to encode.
Результат void
Пример #1
0
 public void xdrEncode(XdrEncodingStream xdr)
 {
     xdr.xdrEncodeInt((int)this._type);
     xdr.xdrEncodeInt(this._mode.Mode);
     xdr.xdrEncodeInt(this._nlink);
     xdr.xdrEncodeInt(this._uid);
     xdr.xdrEncodeInt(this._gid);
     xdr.xdrEncodeLong(this._size);
     xdr.xdrEncodeLong(this._used);
     this._rdev.xdrEncode(xdr);
     xdr.xdrEncodeLong(this._fsid);
     xdr.xdrEncodeLong(this._fileid);
     this._atime.xdrEncode(xdr);
     this._mtime.xdrEncode(xdr);
     this._ctime.xdrEncode(xdr);
 }
Пример #2
0
        public void xdrEncode(XdrEncodingStream xdr)
        {
            xdr.xdrEncodeBoolean(this._setmode);
            if (this._setmode)
            { xdr.xdrEncodeInt(this._mode.Mode); }

            xdr.xdrEncodeBoolean(this._setuid);
            if (this._setuid)
            { xdr.xdrEncodeInt(this._uid); }

            xdr.xdrEncodeBoolean(this._setgid);
            if (this._setgid)
            { xdr.xdrEncodeInt(this._gid); }

            xdr.xdrEncodeBoolean(this._setsize);
            if (this._setsize)
            { xdr.xdrEncodeLong(this._size); }

            xdr.xdrEncodeBoolean(this._setatime != TimeHow.DONT_CHANGE);
            if (this._setatime != TimeHow.DONT_CHANGE)
            { this._atime.xdrEncode(xdr); }

            xdr.xdrEncodeBoolean(this._setmtime != TimeHow.DONT_CHANGE);
            if (this._setmtime != TimeHow.DONT_CHANGE)
            { this._mtime.xdrEncode(xdr); }
        }
Пример #3
0
 public void xdrEncode(XdrEncodingStream xdr)
 {
     this._file.xdrEncode(xdr);
     xdr.xdrEncodeLong(this._offset);
     xdr.xdrEncodeInt(this._count);
     xdr.xdrEncodeInt((int)this._stable);
     xdr.xdrEncodeDynamicOpaque(this._data);
 }
Пример #4
0
 public void xdrEncode(XdrEncodingStream xdr)
 {
     this._obj_attributes.xdrEncode(xdr);
     xdr.xdrEncodeInt(this._rtmax);
     xdr.xdrEncodeInt(this._rtpref);
     xdr.xdrEncodeInt(this._rtmult);
     xdr.xdrEncodeInt(this._wtmax);
     xdr.xdrEncodeInt(this._wtpref);
     xdr.xdrEncodeInt(this._wtmult);
     xdr.xdrEncodeInt(this._dtpref);
     xdr.xdrEncodeLong(this._maxfilesize);
     this._time_delta.xdrEncode(xdr);
     xdr.xdrEncodeInt(this._properties);
 }
Пример #5
0
        public void xdrEncode(XdrEncodingStream xdr)
        {
            Entry _this = this;

            do
            {
                xdr.xdrEncodeLong(_this._fileid);

                _this._name.xdrEncode(xdr);
                _this._cookie.xdrEncode(xdr);
                _this = _this._nextentry;

                xdr.xdrEncodeBoolean(_this != null);
            } while (_this != null);
        }
Пример #6
0
 public void xdrEncode(XdrEncodingStream xdr)
 {
     this._obj_attributes.xdrEncode(xdr);
     xdr.xdrEncodeLong(this._tbytes);
     xdr.xdrEncodeLong(this._fbytes);
     xdr.xdrEncodeLong(this._abytes);
     xdr.xdrEncodeLong(this._tfiles);
     xdr.xdrEncodeLong(this._ffiles);
     xdr.xdrEncodeLong(this._afiles);
     xdr.xdrEncodeInt(this._invarsec);
 }
Пример #7
0
 public void xdrEncode(XdrEncodingStream xdr)
 { xdr.xdrEncodeLong(this._value); }
Пример #8
0
 public void xdrEncode(XdrEncodingStream xdr)
 {
     this._file.xdrEncode(xdr);
     xdr.xdrEncodeLong(this._offset);
     xdr.xdrEncodeInt(this._count);
 }
Пример #9
0
 public void xdrEncode(XdrEncodingStream xdr)
 {
     xdr.xdrEncodeLong(this._size);
     this._mtime.xdrEncode(xdr);
     this._ctime.xdrEncode(xdr);
 }