readMessageIdentifier method

void readMessageIdentifier (
  1. MqttByteBuffer stream
)

Message identifier

Implementation

void readMessageIdentifier(MqttByteBuffer stream) {
  messageIdentifier = stream.readShort();
  length += 2;
}