MqttPublishPayload.fromByteBuffer constructor

MqttPublishPayload.fromByteBuffer(
  1. MqttHeader header,
  2. MqttPublishVariableHeader variableHeader,
  3. MqttByteBuffer payloadStream
)

Initializes a new instance of the MqttPublishPayload class.

Implementation

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