Exemple #1
0
 public void Add(PathTableRecord pth)
 {
     recs.Add(pth);
 }
Exemple #2
0
        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;
            }
        }