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) {
  readProtocolName(variableHeaderStream);
  readProtocolVersion(variableHeaderStream);
  readConnectFlags(variableHeaderStream);
  readKeepAlive(variableHeaderStream);
}