Пример #1
0
 public Nfs3FileAttributes(XdrDataReader reader)
 {
     Type         = (Nfs3FileType)reader.ReadInt32();
     Mode         = (UnixFilePermissions)reader.ReadInt32();
     LinkCount    = reader.ReadUInt32();
     Uid          = reader.ReadUInt32();
     Gid          = reader.ReadUInt32();
     Size         = reader.ReadInt64();
     BytesUsed    = reader.ReadInt64();
     RdevMajor    = reader.ReadUInt32();
     RdevMinor    = reader.ReadUInt32();
     FileSystemId = reader.ReadUInt64();
     FileId       = reader.ReadUInt64();
     AccessTime   = new Nfs3FileTime(reader);
     ModifyTime   = new Nfs3FileTime(reader);
     ChangeTime   = new Nfs3FileTime(reader);
 }
Пример #2
0
 public Nfs3FileAttributes(XdrDataReader reader)
 {
     Type = (Nfs3FileType)reader.ReadInt32();
     Mode = (UnixFilePermissions)reader.ReadInt32();
     LinkCount = reader.ReadUInt32();
     Uid = reader.ReadUInt32();
     Gid = reader.ReadUInt32();
     Size = reader.ReadInt64();
     BytesUsed = reader.ReadInt64();
     RdevMajor = reader.ReadUInt32();
     RdevMinor = reader.ReadUInt32();
     FileSystemId = reader.ReadUInt64();
     FileId = reader.ReadUInt64();
     AccessTime = new Nfs3FileTime(reader);
     ModifyTime = new Nfs3FileTime(reader);
     ChangeTime = new Nfs3FileTime(reader);
 }