Description
The MQTTCodec class reads in message content a byte at a time which can result in very slow reads for larger messages. Instead the code should use a buffer and fill it with as much data as it can in one shot each time a chunk of data is received.