Exemple #1
0
        public void SaveM(sio.FileStream fs)
        {
            sio.BinaryWriter bw;

            bw = new sio.BinaryWriter(fs);

            hdr.parDirNum++;
            fs.WriteByte(hdr.lenDirId);
            fs.WriteByte(hdr.exAttrRecLen);
            bw.Write(hdr.locExtent.ChangeEndian());
            bw.Write(hdr.parDirNum.ChangeEndian());
            hdr.parDirNum--;
            fs.WriteString(name);

            if ((fs.Position & 1) == 1)
                fs.WriteByte(0);
        }
Exemple #2
0
 public void Save(sio.FileStream fs)
 {
     misc.WriteStruct(fs, hdr);
     fs.WriteString(name.ToUpper());
     if (!isDirectory)
         fs.WriteString(";1");
     if ((fs.Position & 1) == 1)
         fs.WriteByte(0);
 }
Exemple #3
0
        public void Save(sio.FileStream fs)
        {
            hdr.parDirNum++;
            misc.WriteStruct(fs, hdr);
            hdr.parDirNum--;
            fs.WriteString(name);

            if ((fs.Position & 1) == 1)
                fs.WriteByte(0);
        }