MqttConnectPayload.fromByteBuffer constructor

MqttConnectPayload.fromByteBuffer(
  1. MqttConnectVariableHeader? variableHeader,
  2. MqttByteBuffer payloadStream
)

Initializes a new instance of the MqttConnectPayload class.

Implementation

MqttConnectPayload.fromByteBuffer(
    this.variableHeader, MqttByteBuffer payloadStream) {
  readFrom(payloadStream);
}