예제 #1
0
        //
        // InitGrpFile
        //
        public void InitGrpFile(string name)
        {
            if (allowOneGrpFileOnly)
            {
                if (grpfiles.Count > 0)
                {
                    return;
                }
            }
            bGrpArchive grpfile = new bGrpArchive(name);

            grpfiles.Add(grpfile);
        }
예제 #2
0
        //
        // InitGrpFile
        //
        public void InitGrpFile(Stream stream)
        {
            if (allowOneGrpFileOnly)
            {
                if (grpfiles.Count > 0)
                {
                    grpfiles.Clear();
                }
            }

            bGrpArchive grpfile = new bGrpArchive(stream);

            grpfiles.Add(grpfile);
        }
예제 #3
0
 public kFileWrite(string name, bGrpArchive grpFile)
 {
     _name    = name;
     _grpFile = grpFile;
     _writer  = new BinaryWriter(new MemoryStream());
 }