avatar
请教一段话的意思# CS - 计算机科学
s*s
1
Copy bytes from the source stream to the specified buffer.
All copied bytes are consumed (that is, the read pointer is advanced).
是不是说如果原数据流里有指针数据,把指针指向的内容拷贝过来
而不是拷贝指针本身?另外,需要负责清空原数据流里的指针么?
avatar
c*r
2

No. The source stream is just a byte stream.
At the beginning, the read pointer points to the head fo the
stream. You don't have to keep this and can move the read
pointer while copying. Just as simple as that.

【在 s*****s 的大作中提到】
: Copy bytes from the source stream to the specified buffer.
: All copied bytes are consumed (that is, the read pointer is advanced).
: 是不是说如果原数据流里有指针数据,把指针指向的内容拷贝过来
: 而不是拷贝指针本身?另外,需要负责清空原数据流里的指针么?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。