public void Add(PathTableRecord pth) { recs.Add(pth); }
public PathTableRecords(sio.FileStream fs, int recLen) { sio.BinaryReader br; PathTableRecord lastRec; long recEnd; br = new sio.BinaryReader(fs); recs = new List<PathTableRecord>(); recEnd = fs.Position + recLen; recs.Add(new PathTableRecord(fs) { fullName = "" }); while (fs.Position < recEnd) { recs.Add(lastRec = new PathTableRecord(fs)); lastRec.fullName = recs[lastRec.hdr.parDirNum].fullName + lastRec.name + config.dirSep; } }