public Nfs3ReadDirPlusResult(XdrDataReader reader) { Status = (Nfs3Status)reader.ReadInt32(); if (reader.ReadBool()) { DirAttributes = new Nfs3FileAttributes(reader); } if (Status == Nfs3Status.Ok) { CookieVerifier = reader.ReadBytes(Nfs3.CookieVerifierSize); DirEntries = new List <Nfs3DirectoryEntry>(); while (reader.ReadBool()) { Nfs3DirectoryEntry dirEntry = new Nfs3DirectoryEntry(reader); DirEntries.Add(dirEntry); } Eof = reader.ReadBool(); } }
public RpcAuthentication(XdrDataReader reader) { _flavour = (RpcAuthFlavour)reader.ReadInt32(); _body = reader.ReadBuffer(400); }