MqttHelperCalculateLengthToMqttLength 方法 |
根据数据的总长度,计算出剩余的数据长度信息
According to the total length of the data, calculate the remaining data length information
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> CalculateLengthToMqttLength(
int length
)
Public Shared Function CalculateLengthToMqttLength (
length As Integer
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ CalculateLengthToMqttLength(
int length
)
static member CalculateLengthToMqttLength :
length : int -> OperateResult<byte[]>
参数
- length
- 类型:SystemInt32
数据的总长度
返回值
类型:
OperateResultByte计算结果
参见