gpt4 book ai didi

c# - c# 中的流长度是否有限制?

转载 作者:行者123 更新时间:2023-11-30 13:49:31 25 4
gpt4 key购买 nike

我需要以这种方式读取流:

using(HttpWebResponse response = (HttpWebResponse)request.getResponse())
{
using(Stream answer = response.getResponseStream())
{
// waiting for a while to read next
}
}

但是,我不知道流的长度。根据 Fiddler 的说法,流长度大于 15,000,000 字节。

有长度限制吗?

最佳答案

是的,它是 9,223,372,036,854,775,807 字节(8,388,608 太字节)

关于c# - c# 中的流长度是否有限制?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9281470/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com