readFrom method

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

Reads a message from the supplied stream.

Implementation

@override
void readFrom(MqttByteBuffer messageStream) {
  variableHeader =
      MqttSubscribeAckVariableHeader.fromByteBuffer(messageStream);
  payload = MqttSubscribeAckPayload.fromByteBuffer(
      header, variableHeader, messageStream);
}