s*****s 发帖数: 27 | 1 Copy bytes from the source stream to the specified buffer.
All copied bytes are consumed (that is, the read pointer is advanced).
是不是说如果原数据流里有指针数据,把指针指向的内容拷贝过来
而不是拷贝指针本身?另外,需要负责清空原数据流里的指针么? | c*r 发帖数: 278 | 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). : 是不是说如果原数据流里有指针数据,把指针指向的内容拷贝过来 : 而不是拷贝指针本身?另外,需要负责清空原数据流里的指针么?
|
|