readFrom method

  1. @override
void readFrom (
  1. MqttByteBuffer variableHeaderStream
)
override

Creates a variable header from the specified header stream.

Implementation

@override
void readFrom(MqttByteBuffer variableHeaderStream) {
  // Unused additional 'compression' byte used within the variable
  // header acknowledgement.
  variableHeaderStream.readByte();
  readReturnCode(variableHeaderStream);
}