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