示例#1
0
        public void xdrEncode(XdrEncodingStream xdr)
        {
            xdr.xdrEncodeInt(limitby);
            switch (limitby)
            {
                case limit_by4.NFS_LIMIT_SIZE:
                    xdr.xdrEncodeInt(filesize);
                    break;

                case limit_by4.NFS_LIMIT_BLOCKS:
                    mod_blocks.xdrEncode(xdr);
                    break;
            }
        }