修正
This commit is contained in:
parent
14b3255e6a
commit
1090e1b36e
@ -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);// 继续向远程文件读取
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user