public PakDirectory ReadPakDirectory() { PakDirectory directory = new PakDirectory(); directory.Name = ReadString(); directory.NumberOfEntries = ReadInt32(); return(directory); }
public void Write(PakDirectory directory) { Write(directory.Name); Write(directory.Entries.Count); }