Ejemplo n.º 1
0
 internal STFSFileStream(STFSPackage container, int[] blocks, long size)
 {
     Length         = size;
     this.blocks    = blocks;
     this.container = container;
     position       = 0;
 }
Ejemplo n.º 2
0
 internal STFSFile(string name, uint size, int startBlock, int numBlocks, STFSDirectory parent, STFSPackage container)
 {
     Name            = name;
     Parent          = parent;
     Size            = size;
     this.dataBlocks = null;
     this.startBlock = startBlock;
     this.numBlocks  = numBlocks;
     this.container  = container;
 }
Ejemplo n.º 3
0
 internal STFSFile(string name, uint size, int[] dataBlocks, STFSDirectory parent, STFSPackage container)
 {
     Name            = name;
     Parent          = parent;
     Size            = size;
     this.dataBlocks = dataBlocks;
     numBlocks       = dataBlocks.Length;
     if (numBlocks > 0)
     {
         startBlock = dataBlocks[0];
     }
     this.container = container;
     ExtendedInfo   = new Dictionary <string, object>();
 }