readReturnCode method

void readReturnCode(
  1. MqttByteBuffer stream
)

Return code

Implementation

void readReturnCode(MqttByteBuffer stream) {
  returnCode = MqttConnectReturnCode.values[stream.readByte()];
  length++;
}