NetSupportCreateReceiveBuffer 方法 |
创建接收数据的缓存,并返回是否创建成功
Create a cache that receives data and return whether the creation is successful
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> CreateReceiveBuffer(
int length
)
Public Shared Function CreateReceiveBuffer (
length As Integer
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ CreateReceiveBuffer(
int length
)
static member CreateReceiveBuffer :
length : int -> OperateResult<byte[]>
参数
- length
- 类型:SystemInt32
准备创建的长度信息,如果传入负数,则自动创建长度 2048 的缓存
返回值
类型:
OperateResultByte创建成功的缓存
参见