Beispiel #1
0
 private void CreateVault(string fileName)
 {
     if (vault != null)
     {
         vault.Dispose();
     }
     vault = new MainVault(fileName);
     archiveList.DataSource = vault.Archives;
 }
Beispiel #2
0
 public Archive(BinaryReader br, int id, MainVault sourceVault)
 {
     preheader = new PreHeader(br);
     Offset    = (uint)br.BaseStream.Position;
     ReadHeader(br);
     data    = br.ReadBytes(Size);
     ending  = br.ReadBytes(preheader.FullSize - Size - preheader.Size);
     this.id = id;
     vault   = sourceVault;
 }