MqttHelperExtraSubscribeMsgFromBytes 方法 |
从MQTT的缓存信息里,提取文本信息
Extract text information from MQTT cache information
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static void ExtraSubscribeMsgFromBytes(
byte[] buffer,
ref int index,
List<string> topics,
List<byte> qosLevels
)
Public Shared Sub ExtraSubscribeMsgFromBytes (
buffer As Byte(),
ByRef index As Integer,
topics As List(Of String),
qosLevels As List(Of Byte)
)
public:
static void ExtraSubscribeMsgFromBytes(
array<unsigned char>^ buffer,
int% index,
List<String^>^ topics,
List<unsigned char>^ qosLevels
)
static member ExtraSubscribeMsgFromBytes :
buffer : byte[] *
index : int byref *
topics : List<string> *
qosLevels : List<byte> -> unit
参数
- buffer
- 类型:SystemByte
Mqtt的报文 - index
- 类型:SystemInt32
索引 - topics
- 类型:System.Collections.GenericListString
订阅的主题信息 - qosLevels
- 类型:System.Collections.GenericListByte
订阅的QOs信息
返回值
类型:
值
参见