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