NetworkStream.Read

Reads data from the NetworkStream.

参数

buffer
类型:System.Byte[]
类型 Byte 的数组,它是内存中用于存储从 NetworkStream 读取的数据的位置。
offset
类型:System.Int32
buffer 中开始将数据存储到的位置。
size
类型:System.Int32
要从 NetworkStream 中读取的字节数。

返回值

类型:System.Int32
NetworkStream 中读取的字节数。

posted @ 2015-09-23 06:29  haxianhe  阅读(329)  评论(0编辑  收藏  举报