点击或拖拽改变大小

NetSupportCreateReceiveBuffer 方法

创建接收数据的缓存,并返回是否创建成功
Create a cache that receives data and return whether the creation is successful

命名空间:  HslCommunication.Core
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static OperateResult<byte[]> CreateReceiveBuffer(
	int length
)

参数

length
类型:SystemInt32
准备创建的长度信息,如果传入负数,则自动创建长度 2048 的缓存

返回值

类型:OperateResultByte
创建成功的缓存
参见