Ejemplo n.º 1
0
 public void WriteFile(byte[][] blocks)
 {
     foreach (var block in blocks)
     {
         var blockWriter = new BlockWriter(_destFile);
         blockWriter.WriteBlock(block);
     }
 }
Ejemplo n.º 2
0
 private void WriteZip(byte[][] bigBlock, int numCurrentBigBlock)
 {
     WriteFile(bigBlock, numCurrentBigBlock);
     if (_lastWritedBlock == _countBigBlocks)
     {
         BlockWriter.FinalizeFile();
     }
 }