C# 此代码一直循环 count一直为4096,不知为什么?求大神解释,之前运行可以,后来不行了。。
do{count=data.Read(buffer,0,buffer.Length);if(count>0){stream.Write(buffer,0,count);}...
do
{
count = data.Read(buffer, 0, buffer.Length);
if (count > 0)
{
stream.Write(buffer, 0, count);
}
}
while (count > 0);
} 展开
{
count = data.Read(buffer, 0, buffer.Length);
if (count > 0)
{
stream.Write(buffer, 0, count);
}
}
while (count > 0);
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询