writeProtocolName method

void writeProtocolName(
  1. MqttByteBuffer stream
)

Write functions Protocol name

Implementation

/// Protocol name
void writeProtocolName(MqttByteBuffer stream) {
  MqttByteBuffer.writeMqttString(stream, protocolName);
}