writeReasonCode method

void writeReasonCode(
  1. MqttByteBuffer stream
)

Reason code.

Implementation

void writeReasonCode(MqttByteBuffer stream) {
  stream.writeByte(mqttDisconnectReasonCode.asInt(reasonCode));
}