public Nfs3DirectoryEntry(XdrDataReader reader) { FileId = reader.ReadUInt64(); Name = reader.ReadString(); Cookie = reader.ReadUInt64(); if (reader.ReadBool()) { FileAttributes = new Nfs3FileAttributes(reader); } if (reader.ReadBool()) { FileHandle = new Nfs3FileHandle(reader); } }
public Nfs3DirectoryEntry(XdrDataReader reader) { FileId = reader.ReadUInt64(); Name = reader.ReadString(); Cookie = reader.ReadUInt64(); if (reader.ReadBool()) { FileAttributes = new Nfs3FileAttributes(reader); } if (reader.ReadBool()) { FileHandle = new Nfs3FileHandle(reader); } }
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); }
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); }