mirror of
https://github.com/KevinWG/OSS.Tools.git
synced 2026-10-22 09:23:49 +08:00
优化变量
This commit is contained in:
@@ -31,7 +31,7 @@ namespace OSS.Http.Mos
|
||||
var buffer = new byte[1024];
|
||||
using (fileStream)
|
||||
{
|
||||
int readCount = 0;
|
||||
int readCount;
|
||||
while ((readCount = fileStream.Read(buffer, 0, buffer.Length)) != 0)
|
||||
{
|
||||
s.Write(buffer, 0, readCount);
|
||||
|
||||
Reference in New Issue
Block a user