// // InitGrpFile // public void InitGrpFile(string name) { if (allowOneGrpFileOnly) { if (grpfiles.Count > 0) { return; } } bGrpArchive grpfile = new bGrpArchive(name); grpfiles.Add(grpfile); }
// // InitGrpFile // public void InitGrpFile(Stream stream) { if (allowOneGrpFileOnly) { if (grpfiles.Count > 0) { grpfiles.Clear(); } } bGrpArchive grpfile = new bGrpArchive(stream); grpfiles.Add(grpfile); }
public kFileWrite(string name, bGrpArchive grpFile) { _name = name; _grpFile = grpFile; _writer = new BinaryWriter(new MemoryStream()); }