This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / A .net question about the document which was recommended by 雁影行洲 yesterday, please help, thanks!
-hillxie(我叫不紧张);
2003-7-18
{205}
(#1292653@0)
-
Maybe because outbyte is zero-based and retval is the size.
-schen(欲语还休);
2003-7-18
(#1292720@0)
-
谢谢,我理解retval不是数组的size,而是buffer里最后剩下的字节数,这也是为什么我不理解最后要把它减一。
-hillxie(我叫不紧张);
2003-7-18
(#1293914@0)
-
still open...
-hillxie(我叫不紧张);
2003-7-21
(#1297422@0)
-
This article might help.
-lilyba(sunshine困惑不懂装懂);
2003-7-21
(#1297491@0)
-
谢谢,就是根据这个文档,retval应该为actual number of bytes read,所以不理解为什么字节个数还减一,那不就少了一个字节?搞不懂了。
-hillxie(我叫不紧张);
2003-7-21
(#1297543@0)