MqttHelperExtraIntFromBytes 方法 |
从MQTT的缓存信息里,提取长度信息
Extract length information from MQTT cache information
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static int ExtraIntFromBytes(
byte[] buffer,
ref int index
)
Public Shared Function ExtraIntFromBytes (
buffer As Byte(),
ByRef index As Integer
) As Integer
public:
static int ExtraIntFromBytes(
array<unsigned char>^ buffer,
int% index
)
static member ExtraIntFromBytes :
buffer : byte[] *
index : int byref -> int
参数
- buffer
- 类型:SystemByte
Mqtt的报文 - index
- 类型:SystemInt32
索引
返回值
类型:
Int32值
参见