This commit is contained in:
皓月 2018-10-05 20:21:00 +08:00
parent 14b3255e6a
commit 1090e1b36e

View File

@ -79,7 +79,6 @@ namespace HaoYue.MediaDownloader
currPostion += contentSize; currPostion += contentSize;
int percent = (int)(currPostion * 100 / remoteFileLength); int percent = (int)(currPostion * 100 / remoteFileLength);
System.Console.WriteLine("percent=" + percent + "%"); System.Console.WriteLine("percent=" + percent + "%");
writeStream.Write(btArray, 0, contentSize);// 写入本地文件 writeStream.Write(btArray, 0, contentSize);// 写入本地文件
contentSize = readStream.Read(btArray, 0, btArray.Length);// 继续向远程文件读取 contentSize = readStream.Read(btArray, 0, btArray.Length);// 继续向远程文件读取
} }