MqttSubscribePayload.fromByteBuffer constructor

MqttSubscribePayload.fromByteBuffer(
  1. MqttHeader header,
  2. MqttVariableHeader variableHeader,
  3. MqttByteBuffer payloadStream
)

Initializes a new instance of the MqttSubscribePayload class.

Implementation

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