writeProtocolVersion method

void writeProtocolVersion(
  1. MqttByteBuffer stream
)

Protocol version

Implementation

void writeProtocolVersion(MqttByteBuffer stream) {
  stream.writeByte(protocolVersion);
}