writeTo method
Writes the variable header for an MQTT Connect message to the supplied stream.
Implementation
@override
void writeTo(MqttByteBuffer variableHeaderStream) {
// Unused additional 'compression' byte used within the variable
// header acknowledgement.
variableHeaderStream.writeByte(0);
writeReturnCode(variableHeaderStream);
}