点击或拖拽改变大小

MqttHelperBuildSegCommandByString 方法 (String)

将字符串打包成utf8编码,并且带有2个字节的表示长度的信息
Pack the string into utf8 encoding, and with 2 bytes of length information

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static byte[] BuildSegCommandByString(
	string message
)

参数

message
类型:SystemString
文本消息

返回值

类型:Byte
打包之后的信息
参见