HslHelperReadSpecifiedLengthFromStream 方法 |
从流中接收指定长度的字节数组
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static byte[] ReadSpecifiedLengthFromStream(
Stream stream,
int length
)
Public Shared Function ReadSpecifiedLengthFromStream (
stream As Stream,
length As Integer
) As Byte()
public:
static array<unsigned char>^ ReadSpecifiedLengthFromStream(
Stream^ stream,
int length
)
static member ReadSpecifiedLengthFromStream :
stream : Stream *
length : int -> byte[]
参数
- stream
- 类型:System.IOStream
流 - length
- 类型:SystemInt32
数据长度
返回值
类型:
Byte二进制的字节数组
参见