Exemplo n.º 1
0
 public File(string fileName, int fileLength, int numPieces)
     : this(numPieces)
 {
     FileData data = new FileData(fileName, fileLength);
     filesData = new ArrayList(1);
     filesData.Add(data);
     numFiles = 1;
     CreateFileStruct();
 }
Exemplo n.º 2
0
 public FileStruct(FileData ioFile, int beginPosition, int length)
 {
     this.ioFile = ioFile;
     this.begin = beginPosition;
     this.length = length;
 }